diff options
author | mh <mh@immerda.ch> | 2008-07-17 13:44:55 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-07-17 13:44:55 +0000 |
commit | 9fe36ea62376c14af88096babcb8bdf546298a04 (patch) | |
tree | 464dbc8827761db5fc16367d07bf92432c0ae64b | |
parent | f937e64547deddba557c75c50b9c7ddcd0e83e7e (diff) |
adding debian specific stuff
-rw-r--r-- | manifests/init.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index f9f9548..5360cfe 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -25,6 +25,7 @@ class puppet { linux: { case $operatingsystem { gentoo: { include puppet::gentoo } centos: { include puppet::centos } + debian: { include puppet::debian } default: { include puppet::linux} } } @@ -61,6 +62,7 @@ class puppet::linux { ensure => running, enable => true, hasstatus => true, + hasrestart => true, pattern => puppetd, require => Package[puppet], } @@ -83,6 +85,12 @@ class puppet::gentoo inherits puppet::linux { hasstatus => false, } } +class puppet::debian inherits puppet::linux { + # there is really no status cmd for it + Service[puppet]{ + hasstatus => false, + } +} class puppet::centos inherits puppet::linux { file{'/etc/sysconfig/puppet': source => [ "puppet://$server/files/puppet/sysconfig/${fqdn}/puppet", |