summaryrefslogtreecommitdiff
path: root/manifests/cron/base.pp
blob: 966aea78ec8f44dfbbc9dc6156fde710f90f7c09 (plain)
1
2
3
4
5
6
7
8
9
10
11
# manifests/cron/base.pp

class puppet::cron::base inherits puppet::base {
    Service['puppet']{
        enable => false,
    }
    exec{'stop_puppet':
        command => 'kill `cat /var/run/puppet/puppetd.pid`',
        onlyif => 'test -f test -f /var/run/puppet/puppetd.pid',
    }
}