puppet-prod/site/profiles/manifests/puppet/autosign.pp
Ben Vincent 052b07be83 chore: remove excessive comments
- remove the excessive comments and notes at the top of the puppet classes
2024-05-03 20:48:20 +10:00

23 lines
750 B
Puppet

# profiles::puppet::autosign
#
# This Puppet class provides automation for autosigning node certificates
# based on specified subnet ranges and domain patterns.
# It is useful in environments where nodes are dynamically provisioned and
# require automatic certificate signing without manual intervention.
class profiles::puppet::autosign (
Array[Stdlib::IP::Address::V4::CIDR] $subnet_ranges = [],
Array[String[1]] $domains = [],
Array[String[1]] $nodes = [],
) {
# Manage the autosign.conf file using the template
file { '/etc/puppetlabs/puppet/autosign.conf':
ensure => 'file',
content => template('profiles/puppet/autosign/autosign.conf.erb'),
owner => 'puppet',
group => 'puppet',
mode => '0644',
}
}