Ask Your Question
1

can I get the results of a puppet run if I use mcollective?

asked 2015-03-16 01:56:09 -0500

kaizenCoder gravatar image

Is it possible to configure mcollective to return the result of each agent run? I'm also curious to know if its possible to get the return code to ensure the puppet agent run was successful.

This is for a mcollective run from the command line.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-03-25 16:11:36 -0500

WhatsARanjit gravatar image

When you invoke a puppet run through MCollective, you'll receive an exit code for whether than node grabbed the request or not. MCollective does not wait for the the full agent-to-master communication to succeed. A catalog compilation/execution could take minutes. MCollective will probably timeout before then. You can do $ mco puppet summary do get a summary of where all the nodes are at.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-03-16 01:56:09 -0500

Seen: 184 times

Last updated: Mar 25 '15