----- Original Message -----
> From: "Andriy Yurchuk" <[email protected]>
> To: [email protected]
> Sent: Thursday, February 7, 2013 2:42:30 PM
> Subject: [Puppet Users] mcollective-puppet-agent to return status of Puppet 
> execution
> 
> 
> 
> I'm using mcollective-puppet-agent (
> https://github.com/puppetlabs/mcollective-puppet-agent) to force Puppet
> runs on nodes. When running mco puppet runall is there any way I can get
> back the status of Puppet execution on each node? Currently, even if
> verbosity is enabled, mco does not provide much of information:
> 
> 2013-02-07 13:29:54: Running all nodes with a concurrency of 10
> 2013-02-07 13:29:54: Discovering enabled Puppet nodes to manage
> Discovering hosts using the mc method for 3 second(s) .... 5
> 2013-02-07 13:29:57: Found 5 enabled nodes
> Discovering hosts using the mc method for 3 second(s) .... 0
> 2013-02-07 13:30:00: oms-753 schedule status: Started a background Puppet run
> using the 'puppet agent --onetime --daemonize --color=false' command
> 2013-02-07 13:30:01: oms-9421 schedule status: Started a background Puppet
> run using the 'puppet agent --onetime --daemonize --color=false' command
> 2013-02-07 13:30:03: oms-11728 schedule status: Started a background Puppet
> run using the 'puppet agent --onetime --daemonize --color=false' command
> 2013-02-07 13:30:04: oms-9812 schedule status: Started a background Puppet
> run using the 'puppet agent --onetime --daemonize --color=false' command
> 2013-02-07 13:30:05: oms-2787 schedule status: Started a background Puppet
> run using the 'puppet agent --onetime --daemonize --color=false' command
> 
> 
> Is there any way to at least report back if Puppet run has succeeded or
> failed?
> 


no not in the middle of runall, we just schedule a puppet run to run in the
background - puppet runs can take random periods of time it wouldnt work to 
try and wait for each one to reply done - your reporting infrastructure etc
should be used for that.

you can use the status commands to pull out statusses after the run which would
include details like failed/changed/etc resources

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to