diff options
author | mh <mh@immerda.ch> | 2008-12-27 15:54:45 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-12-27 15:54:45 +0000 |
commit | 26fb5d12d5da80a8057aeaecaa65e266964d8478 (patch) | |
tree | c952686107449f61d5905f3f1c934b829c45c66c /manifests/linux.pp | |
parent | 81d2c0ba518dca2861e685edd7af657a0726340d (diff) |
factored classes out in their own files
Diffstat (limited to 'manifests/linux.pp')
-rw-r--r-- | manifests/linux.pp | 18 |
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; + } +} |