diff options
Diffstat (limited to 'manifests/linux.pp')
-rw-r--r-- | manifests/linux.pp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/manifests/linux.pp b/manifests/linux.pp index a217f66..fcd3936 100644 --- a/manifests/linux.pp +++ b/manifests/linux.pp @@ -1,23 +1,22 @@ class puppet::linux inherits puppet::base { if !$puppet_ensure_version { $puppet_ensure_version = 'installed' } - package{ 'puppet': + package { 'puppet': ensure => $puppet_ensure_version, } if !$facter_ensure_version { $facter_ensure_version = 'installed' } - package{ 'facter': + package { 'facter': ensure => $facter_ensure_version, } - # package bc needed for cron job - include bc Service['puppet']{ require => Package[puppet], } - - file{'/etc/cron.d/puppetd.cron': - source => [ "puppet:///modules/puppet/cron.d/puppetd.${operatingsystem}", + + file { '/etc/cron.d/puppetd.cron': + source => [ "puppet:///modules/site-puppet/cron.d/puppetd", + "puppet:///modules/puppet/cron.d/puppetd.${operatingsystem}", "puppet:///modules/puppet/cron.d/puppetd" ], owner => root, group => 0, mode => 0644, } |