Ask Your Question
1

Web Console API exposed?

asked 2013-02-05 13:33:41 -0500

Keith gravatar image

updated 2013-02-27 09:10:47 -0500

llowder gravatar image

The Web console allows users to interactively approve certificate requests and apply classes to nodes.

Is this API exposed? Is there a way for me to integrate with the puppet master and from another system makes calls to it to perform these actions?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2013-02-05 13:57:10 -0500

llowder gravatar image

The Live Management Console is a part of Puppet Enterprise, and not available as part of the Open Source edition - though the underlying products (Puppet Dashboard and MCollective) are available.

I don't think that an actual API will be exposed, but since that feature uses MCollective, any thing you can do via the GUI you should be able to do via command line by invoking Mcollective directly using CLI.

MCollective does not (last I checked) have a web API, but it does have a very easy to use DDL and API. You can find a lot of discussion about ... (more)

edit flag offensive delete link more
0

answered 2013-02-06 08:21:00 -0500

Keith gravatar image

Ok, I guess the answer then is to use SSH to execute the CLI. I had just hoped that things would be a little more open

edit flag offensive delete link more
0

answered 2013-02-05 14:30:42 -0500

mrzarquon gravatar image

If you want to manage grouping / node classification of the console programmatically, you can reference these example rake calls that are part of the Puppet Dashboard used with Puppet Enterprise. They are provided here.

There is also a forge module to allow you to call these commands through a puppet face. That module is here, and I would suggest checking the project repository on github to see some example uses. It doesn't expose everything in the rake examples listed above, but it does accomplish a lot of it.

For managing the signing of certificates, you could use the above ... (more)

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

Stats

Asked: 2013-02-05 13:33:41 -0500

Seen: 517 times

Last updated: Feb 06 '13