Ask Your Question

How to run/execute puppet script manually ?

asked 2016-06-07 01:51:02 -0600

Arunava gravatar image

I have a puppet script which I want to execute whenever I need it. I don't want this script to execute in every scheduled time. so is there any way to achieve it ?

for better understanding i will give an example of Jenkins. In Jenkins we can do build in 2 ways. one is by scheduling the the job and another is by clicking on build button. Same kind of solution I am looking for.

In case of puppet the solution can e anything, it should be able to run my puppet script manually whenever required.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-06-07 14:55:34 -0600

jon6000 gravatar image

You can execute a Puppet script manually using 'puppet apply':

puppet apply mymanifest.pp
edit flag offensive delete link more

answered 2016-06-08 05:34:49 -0600

jiada gravatar image

An MCollective agent plugin could be useful 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


Asked: 2016-06-07 01:51:02 -0600

Seen: 323 times

Last updated: Jun 08 '16