summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-02-29 15:33:36 +0000
committermh <mh@immerda.ch>2008-02-29 15:33:36 +0000
commit283692945525ef783ea17cd92acecca92bb2c0e8 (patch)
tree36229f4ddff0b0c8c8a5dda46b15271f78450cc7 /manifests/init.pp
parentc7e0334a04e02f5202380c05b5ed48d06b541337 (diff)
added cron for puppet
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 556486b..959fa61 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -36,6 +36,15 @@ class puppet::linux {
hasstatus => true,
hasrestart => true,
}
+
+ file{'/etc/cron.d/puppetd':
+ owner => root,
+ group => 0,
+ mode => 0644,
+ source => [ "puppet://$server/puppet/conf.d/puppetd.$operatingsystem",
+ "puppet://$server/puppet/conf.d/puppetd"
+ ],
+ }
}
class puppet::openbsd {
service{'puppet':