summaryrefslogtreecommitdiff
path: root/manifests/linux.pp
blob: f6502f2ffd141ed32d97ecf182035d17a6ef249b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
    }
}