Ask Your Question
0

How to run/execute puppet script manually ?

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

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
1

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

jon6000 gravatar image

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

puppet apply mymanifest.pp
edit flag offensive delete link more
1

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

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

Stats

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

Seen: 59 times

Last updated: Jun 08 '16