diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/puppetd.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/puppetd.pp b/manifests/puppetd.pp index 0cd7434..090aeaa 100644 --- a/manifests/puppetd.pp +++ b/manifests/puppetd.pp @@ -30,6 +30,12 @@ class puppetd inherits puppet { require => [ Package["puppet"], File["/etc/default/puppet"] ], } + # name of puppet agent section in config file + $puppet_agent_section = $lsbdistcodename ? { + 'lenny','lucid' => 'puppetd', + default => 'agent', + } + # default config file for puppet nodes if ($puppetmasterd_present != true) or ($main_master != true) { file { "/etc/puppet/puppet.conf": |