diff --git a/puppet/manifests/init.pp b/puppet/manifests/init.pp index 7d1d04e..6aeefae 100644 --- a/puppet/manifests/init.pp +++ b/puppet/manifests/init.pp @@ -111,6 +111,20 @@ class puppet::client { notify => Service["puppet"], } } + "fedora": { + service { "puppet": + name => $::operatingsystemrelease ? { + /^1[0-8]/ => "puppet", + default => "puppetagent", + }, + enable => true, + restart => $::puppetversion ? { + /^[0-2]\./ => "pkill -HUP puppetd", + default => "pkill -HUP -f '/usr/bin/puppet agent'", + }, + subscribe => File["/etc/puppet/puppet.conf"], + } + } default: { service { "puppet": ensure => running,