Puppet Class: profile::standard

Defined in:
modules/profile/manifests/standard.pp

Overview

Parameters:

  • has_default_mail_relay (Boolean) (defaults to: lookup('profile::standard::has_default_mail_relay'))
  • monitoring_hosts (Array[Stdlib::IP::Address]) (defaults to: lookup('monitoring_hosts'))
  • enable_ip6_mapped (Boolean) (defaults to: lookup('profile::standard::enable_ip6_mapped'))


1
2
3
4
5
6
7
8
9
10
11
12
13
# File 'modules/profile/manifests/standard.pp', line 1

class profile::standard(
    Boolean $has_default_mail_relay = lookup('profile::standard::has_default_mail_relay'),
    Array[Stdlib::IP::Address] $monitoring_hosts = lookup('monitoring_hosts'),
    Boolean $enable_ip6_mapped = lookup('profile::standard::enable_ip6_mapped')
) {
    class { '::standard':
        has_default_mail_relay => $has_default_mail_relay,
        monitoring_hosts       => $monitoring_hosts,
    }
    if $enable_ip6_mapped {
        interface::add_ip6_mapped { 'main': }
    }
}