From 71cab97fb03e96718b3815ef238113002f54d7b8 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 30 Nov 2015 01:09:13 +0100 Subject: puppet: Use puppet agent instead of puppetd in cron puppetd is not available on Mageia 5. --- modules/puppet/manifests/client.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ), } -- cgit v1.2.1