summaryrefslogtreecommitdiff
path: root/manifests/cron/linux.pp
blob: de831c744415550ec0569d687819e757fc4d91fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# manifests/cron/linux.pp 
class puppet::cron::linux inherits puppet::linux {
    include puppet::cron::base
    case $puppet_config {
        '': { $puppet_config = '/etc/puppet/puppet.conf' }
    }
    File['/etc/cron.d/puppetd.cron']{
        source => undef,
        content => "# run puppet
0,30 * * * * root /usr/sbin/puppetd --onetime --no-daemonize --splay true --config=$puppet_config\n",
    }
}