Resource Type: firewalld_port
- Defined in:
- lib/puppet/type/firewalld_port.rb
- Providers:
-
firewall_cmd
Overview
Assigns a port to a specific firewalld zone.
firewalld_port will autorequire the firewalld_zone specified in the zone parameter or the firewalld_policy specified in the policy parameter so there is no need to add dependencies for this
Example:
firewalld_port {'Open port 8080 in the public Zone':
ensure => 'present',
zone => 'public',
port => 8080,
protocol => 'tcp',
}