Puppet Class: puppet::agent
- Defined in:
- manifests/agent.pp
Overview
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'manifests/agent.pp', line 3
class puppet::agent ($server, $runinterval = '15m', $report = true) {
include puppet::common
service { $puppet::params::agent_service:
ensure => running,
enable => true,
require => [Package['puppet_package']],
subscribe => [File[$puppet::params::conf_path]],
}
concat::fragment { 'puppet_config_agent':
target => $puppet::params::conf_path,
content => template('puppet/puppet.conf.agent.erb'),
order => '300',
}
}
|