summaryrefslogtreecommitdiff
path: root/manifests/cron/base.pp
blob: 98bb394ef2891849cd6e3ac6596a12385687f1e7 (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 /var/run/puppet/puppetd.pid',
    }
}