arjun tr
2013-Jun-07 06:32 UTC
[Puppet Users] " mco puppet runonce -v" fails when puppet returns code 2 for change
*Not sure if this a feature or a issue, if its a feature is there a way to
configure it in puppet or mcollective?
1st Attempt(Failed)
-------------------------------------------------------------------------------------------------------------------
*
[root@mcqpuppetserver ~]# mco puppet runonce -v
Discovering hosts using the mc method for 2 second(s) .... 1
* [ ============================================================> ] 1 / 1
mcqpuppetagent. : Puppet command ''puppet agent --test --server
mcqpuppetserver. --onetime --daemonize --color=false --splay --splaylimit
30'' had exit code 2, expected 0
{:summary=> "Puppet command ''puppet agent --test
--server
mcqpuppetserver. --onetime --daemonize --color=false --splay --splaylimit
30'' had exit code 2, expected 0"}
---- rpc stats ----
Nodes: 1 / 1
Pass / Fail: 0 / 1
Start Time: Mon Jun 03 10:15:20 +0530 2013
Discovery Time: 2003.35ms
Agent Time: 143063.86ms
Total Time: 145067.21ms
*
2nd Attempt(Success)
---------------*
[root@mcqpuppetserver ~]# mco puppet runonce -v
Discovering hosts using the mc method for 2 second(s) .... 1
* [ ============================================================> ] 1 / 1
mcqpuppetagent. : OK
{:summary=> "Started a background Puppet run using the
''puppet
agent --test --server mcqpuppetserver. --onetime --daemonize --color=false
--splay --splaylimit 30'' command"}
---- rpc stats ----
Nodes: 1 / 1
Pass / Fail: 1 / 0
Start Time: Mon Jun 03 10:18:41 +0530 2013
Discovery Time: 2011.42ms
Agent Time: 144182.50ms
Total Time: 146193.92ms
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
R.I.Pienaar
2013-Jun-07 14:23 UTC
Re: [Puppet Users] " mco puppet runonce -v" fails when puppet returns code 2 for change
----- Original Message -----> From: "arjun tr" <arjun200034@gmail.com> > To: puppet-users@googlegroups.com > Sent: Friday, June 7, 2013 7:32:06 AM > Subject: [Puppet Users] " mco puppet runonce -v" fails when puppet returns code 2 for change > > *Not sure if this a feature or a issue, if its a feature is there a way to > configure it in puppet or mcollective?it''s not designed to be used iwth ''puppet agent --test'', it is designed to start a background puppet run. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.