Puppet Class: profile::base::firewall::extra

Defined in:
modules/profile/manifests/base/firewall/extra.pp

Overview

Parameters:

  • rules

    a hash of rules passed to ferm::rule

  • services (Hash) (defaults to: lookup('profile::base::firewall::extra::services'))


3
4
5
6
7
8
9
10
11
# File 'modules/profile/manifests/base/firewall/extra.pp', line 3

class profile::base::firewall::extra (
  Hash $services = lookup('profile::base::firewall::extra::services')
) {
  $services.each |$service, $config| {
    ferm::service {$service:
      * => $config
    }
  }
}