Ask Your Question
0

how to make a module be the first run ?

asked 2016-12-02 07:07:07 -0500

gabrielfsousa gravatar image

how to make a module be the first run ?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-12-02 13:07:23 -0500

DarylW gravatar image

The only way to ensure ordering is to use class/resource ordering however you invoke your puppet code. If you are following the common 'roles/profiles' pattern, you would have to order your profiles within your roles, but if you do that you would have to worry about understanding containment.

You can use run stages, but their use is generally discouraged and your should be sure to check out the Limitations and Issues section of the documentation..

edit flag offensive delete link more
0

answered 2016-12-03 10:23:14 -0500

gabrielfsousa gravatar image

Can you give me guide line for class/resource ording ? Thanks

edit flag offensive delete link more

Comments

https://docs.puppet.com/puppet/latest/lang_relationships.html

DarylW gravatar imageDarylW ( 2016-12-04 08:12:08 -0500 )edit

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-12-02 07:07:07 -0500

Seen: 49 times

Last updated: Dec 03 '16