# Class: profiles::puppet::client # # This class manages Puppet client configuration. # # site/profile/manifests/puppet/client.pp class profiles::puppet::client ( String $dns_alt_names = $trusted['certname'], String $server = 'puppetmaster', String $ca_server = 'puppetca', String $environment = 'develop', Integer $runinterval = 1800, Integer $runtimeout = 3600, Boolean $show_diff = true, Boolean $usecacheonfailure = false, ) { # Assuming you want to manage puppet.conf with this profile file { '/etc/puppetlabs/puppet/puppet.conf': ensure => 'present', content => template('profiles/puppet/client/puppet.conf.erb'), owner => 'root', group => 'root', mode => '0644', notify => Service['puppet'], } }