diff options
Diffstat (limited to 'manifests/cron/linux.pp')
-rw-r--r-- | manifests/cron/linux.pp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/cron/linux.pp b/manifests/cron/linux.pp new file mode 100644 index 0000000..1447109 --- /dev/null +++ b/manifests/cron/linux.pp @@ -0,0 +1,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 puppetd --onetime --no-daemonize --splay true --config=$puppet_config", + } +} |