diff options
author | Olivier Blin <dev@blino.org> | 2015-11-30 01:09:13 +0100 |
---|---|---|
committer | Olivier Blin <dev@blino.org> | 2015-11-30 01:20:25 +0100 |
commit | 71cab97fb03e96718b3815ef238113002f54d7b8 (patch) | |
tree | c218e9e14cde4468abf55078ad84ce51780e0c0a | |
parent | 2955e4c86e60696bee9b613e55020221aec6b1fc (diff) | |
download | puppet-71cab97fb03e96718b3815ef238113002f54d7b8.tar puppet-71cab97fb03e96718b3815ef238113002f54d7b8.tar.gz puppet-71cab97fb03e96718b3815ef238113002f54d7b8.tar.bz2 puppet-71cab97fb03e96718b3815ef238113002f54d7b8.tar.xz puppet-71cab97fb03e96718b3815ef238113002f54d7b8.zip |
puppet: Use puppet agent instead of puppetd in cron
puppetd is not available on Mageia 5.
-rw-r--r-- | modules/puppet/manifests/client.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/puppet/manifests/client.pp b/modules/puppet/manifests/client.pp index 38857810..1168373b 100644 --- a/modules/puppet/manifests/client.pp +++ b/modules/puppet/manifests/client.pp @@ -2,7 +2,7 @@ class puppet::client inherits puppet { cron { 'puppet': ensure => present, - command => '/usr/sbin/puppetd -o --no-daemonize -l syslog >/dev/null 2>&1', + command => 'puppet agent --onetime --no-daemonize -l syslog >/dev/null 2>&1', user => 'root', minute => fqdn_rand( 60 ), } |