Ask Your Question

How can I manually trigger an action?

asked 2015-05-07 08:06:19 -0500

chippyrich gravatar image

I want to have an action or configuration that is defined but not automatically applied, so that an administrator is able to manually initiate it on a specific agent through a web interface or web service call. Can anyone let me know if this is possible?

edit retag flag offensive close merge delete


It looks like the puppet agent does have a RESTful API that can be enabled via the `listen` configuration setting. However, I don't know what the RESTful API for the puppet agent is capable of, so I'll leave it to someone more knowledgeable to give a fuller answer.

JohnsonEarls gravatar imageJohnsonEarls ( 2015-05-07 14:23:07 -0500 )edit

Thanks for the answers. Looks like MCollective will do what I need.

chippyrich gravatar imagechippyrich ( 2015-05-08 10:55:02 -0500 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2015-05-07 20:25:44 -0500

GregLarkin gravatar image

What you are describing is the use case for MCollective: and

I've never used an API to drive MCollective, and I don't see any ready documentation describing one. However, you can certainly invoke it at the command-line and script it that way.

edit flag offensive delete link more

answered 2015-05-08 10:31:25 -0500

use the mcollective client gem in a ruby app - then use that to run a remote puppet agent apply <yourmodule> ..?

edit flag offensive delete link more

answered 2015-05-08 07:18:40 -0500

rnelson0 gravatar image

In addition to MCollective, there are a number of other orchestration issues that can meet your needs. vRealize Orchestrator (previously vCenter Orchestrator) is a free engine provided with VMware's vCenter, for vSphere environments, and it supports a REST API endpoint service. Ansible is another configuration management tool, but is often used as an orchestration agent alongside other CM tools like Puppet because it uses SSH to talk to the endpoints and can be easily scripted. There are tons of other products out there that work well alongside Puppet.

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


Asked: 2015-05-07 08:06:19 -0500

Seen: 218 times

Last updated: May 08 '15