Ask Your Question

Execute an installer after I copy it

asked 2014-09-18 15:47:07 -0500

GLN gravatar image

updated 2014-09-18 15:47:27 -0500


I am a bit new to puppet so there may be something basic I am missing. Task 1 - I was able to write a class that copies an installer from my puppet master to the agent machines. Task 2 - I was able to write an exec that will run and installer that exist on an agent machine. The thing is this - the copying of the file takes some time (a couple of minutes). How do I make sure my exec (task 2) runs only after the installer in task 1 finished getting copied to my agent machine?

Thanks in advance


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-09-18 17:19:37 -0500

lavaman gravatar image

Just have your exec require the installer, or better, subscribe to it so it runs if the file is ever updated.

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: 2014-09-18 15:47:07 -0500

Seen: 138 times

Last updated: Sep 18 '14