Re: [Puppet Users] Schedule yum update not found

2013-01-04 Thread Miguel Angel Coa Morales
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

Re: [Puppet Users] Schedule yum update not found

2013-01-04 Thread jcbollinger
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=

Re: [Puppet Users] Schedule yum update not found

2013-01-03 Thread Miguel Angel Coa Morales
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

[Puppet Users] Schedule yum update not found

2013-01-02 Thread Kazor
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) : [..