Resource Type: firewalld_service
- Defined in:
- lib/puppet/type/firewalld_service.rb
- Providers:
-
firewall_cmd
Overview
Assigns a service to a specific firewalld zone.
firewalld_service will autorequire the firewalld_zone specified in the zone parameter and the firewalld::custom_service
specified in the service parameter, so there is no need to add dependencies for this
Example:
firewalld_service {'Allow SSH in the public Zone':
ensure => 'present',
zone => 'public',
service => 'ssh',
}