summaryrefslogtreecommitdiff
path: root/manifests/linux.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/linux.pp')
-rw-r--r--manifests/linux.pp18
1 files changed, 18 insertions, 0 deletions
diff --git a/manifests/linux.pp b/manifests/linux.pp
new file mode 100644
index 0000000..f6502f2
--- /dev/null
+++ b/manifests/linux.pp
@@ -0,0 +1,18 @@
+class puppet::linux inherits puppet::base {
+ package{ [ 'puppet', 'facter' ]:
+ ensure => present,
+ }
+
+ # package bc needed for cron
+ include bc
+ Service['puppet']{
+ require => Package[puppet],
+ }
+
+
+ file{'/etc/cron.d/puppetd.cron':
+ source => [ "puppet://$server/puppet/cron.d/puppetd.${operatingsystem}",
+ "puppet://$server/puppet/cron.d/puppetd" ],
+ owner => root, group => 0, mode => 0644;
+ }
+}