Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $croncmd = "timeout -s 15 1000 nice -n 19 puppet agent --onetime --no-daemonize --logdest syslog > /dev/null 2>&1"
- cron { "puppetd":
- command => $croncmd,
- user => "root",
- hour => "*",
- minute => "*/15",
- ensure => present,
- environment => [ 'PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/puppetlabs/bin', 'MAILTO=/dev/null', ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement