Ask Your Question
0

how to trigger puppet agent from puppet console v2015.2.3?

asked 2015-12-24 01:00:49 -0500

yoga gravatar image

I am using puppet console version v2015.2.3. explain me about how to trigger puppet agent from puppet console? what changes want to made ?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-12-28 08:21:28 -0500

reesek gravatar image

updated 2015-12-28 08:23:20 -0500

It sounds like you may be referring to what used to be Live Management, which has been deprecated. To trigger a puppet run on an agent from the master, login to your puppet master, and sudo to the peadmin user account. From there, use mco to trigger a puppet run on a specified agent as follows, where puppetcertname is the agent you wish to trigger the run.

peadmin@pemaster01:~$ mco puppet runonce -I puppet_cert_name

 * [ ============================================================> ] 1 / 1




Finished processing 1 / 1 hosts in 164.02 ms
peadmin@pemaster01:~$

There are other options to trigger runs across multiple systems using other filters. Refer to this link.

edit flag offensive delete link more

Comments

Thank you. I think my question confusing you.I can able to trigger agent from puppet master from CLI like as you said. But my question is i want to trigger agent from puppet master dashboard or console.how to enable that option in console. can you clarify it a bit for me?

yoga gravatar imageyoga ( 2015-12-29 00:34:55 -0500 )edit
1

Initiating a puppet run from the console in v2015.2.3 is not available. It is, however, a new feature made available in v2015.3 Have a look at the release notes -> https://docs.puppetlabs.com/pe/latest/release_notes.html#run-puppet-from-the-pe-console

reesek gravatar imagereesek ( 2015-12-30 09:39:51 -0500 )edit
0

answered 2015-12-30 00:02:56 -0500

Anandk gravatar image

You can use the inventory management to run once on the agent. More info here

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-12-24 01:00:49 -0500

Seen: 232 times

Last updated: Dec 30 '15