From 9fe36ea62376c14af88096babcb8bdf546298a04 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 17 Jul 2008 13:44:55 +0000 Subject: adding debian specific stuff --- manifests/init.pp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'manifests/init.pp') 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", -- cgit v1.2.3