Hello jcbollinger,
I resolved the problem with "sudo" in the command syntax .
[………...]
class updateso {
schedule{ weekly:
range => "14 - 16",
repeat => 2,
}
exec { "sudo yum --exclude=drbd* --exclude=kernel* --exclude=mysql*
--exclude=php* update -y":
user => root
On Thursday, January 3, 2013 9:37:49 AM UTC-6, Kazor wrote:
>
> Hello,
> I resolved the structure inside my init.pp, but the command in the puppet
> agent fails:
>
> [………]
> Jan 3 12:25:45 mail2 puppet-agent[31902]: (/Stage[main]/Updateso/Exec[yum
> --exclude=drbd* --exclude=kernel* --exclude=
Hello,
I resolved the structure inside my init.pp, but the command in the puppet agent
fails:
[………]
Jan 3 12:25:45 mail2 puppet-agent[31902]: (/Stage[main]/Updateso/Exec[yum
--exclude=drbd* --exclude=kernel* --exclude=mysql* --exclude=php* update
-y]/returns) change from notrun to 0 failed: yu
Hello guys,
I'm creating class for update my servers these are Centos (RedHat Family) .
But when i run from puppet client, only apply update version but the
command "yum update" declared within in my class not found .
My class "updateso" (/etc/puppet/modules/updateso/manifests/init.pp) :
[..