Ask Your Question

Question on environment behavior

asked 2015-04-30 18:12:02 -0600

maynero gravatar image

updated 2015-04-30 18:12:56 -0600

When enabling the environment, do I need to move all my manifests to the production directory so that my agents can still read my existing manifests in /etc/puppet/manifests?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-05-01 07:29:14 -0600

rnelson0 gravatar image

The manifests directory would be located under your environment's path, typically something like /etc/puppet/environment/production/manifests or /etc/puppet/environment/feature/manifests. This would be the expected location when you enable directory environments. You can also override that setting with $default_manifest as described at the same URL.

The files can be placed there automatically with r10k or librarian-puppet, some really awesome tools that will push your puppet code from a version control repository to the environment location dynamically, rather than you having to move files yourself. I would suggest looking into them sooner rather than later (I'm biased toward r10k).

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: 2015-04-30 18:12:02 -0600

Seen: 68 times

Last updated: May 01 '15