Puppet Class: profile::base::puppet
- Defined in:
- modules/profile/manifests/base/puppet.pp
Overview
profile to manage puppet
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'modules/profile/manifests/base/puppet.pp', line 2
class profile::base::puppet(
String $puppetmaster = lookup('puppetmaster'),
String $ca_server = lookup('puppet_ca_server'),
Stdlib::Filesource $ca_source = lookup('puppet_ca_source'),
Boolean $manage_ca_file = lookup('manage_puppet_ca_file'),
Integer[1,59] $interval = lookup('profile::base::puppet::interval'),
String $environment = lookup('profile::base::puppet::environment'),
String $serialization_format = lookup('profile::base::puppet::serialization_format'),
Array[Stdlib::Fqdn] $dns_alt_names = lookup('profile::base::puppet::dns_alt_names'),
Optional[String] $certificate_revocation = lookup('profile::base::puppet::certificate_revocation'),
) {
class { 'base::puppet':
ca_source => $ca_source,
manage_ca_file => $manage_ca_file,
server => $puppetmaster,
ca_server => $ca_server,
dns_alt_names => $dns_alt_names,
environment => $environment,
interval => $interval,
certificate_revocation => $certificate_revocation,
}
class { 'puppet_statsd':
statsd_host => 'statsd.eqiad.wmnet',
metric_format => 'puppet.<%= metric %>',
}
class { 'prometheus::node_puppet_agent': }
include profile::puppet::client_bucket
}
|