I don't do any central modules, but everything in an environment
modulepath. That way there's no confusion about what module may be loaded.
It also keeps the configuration as simple as can be, no environment is
special in any way.


Rob Nelson
rnels...@gmail.com

On Wed, Jul 27, 2016 at 10:06 AM, dsdwcal <gamerguru...@gmail.com> wrote:

> So relatively recently we have deployed and set up R10k to manage our
> environments and modules. In terms of suggested practices, I am curios what
> others are currently doing to manage their production/dev environments. It
> seems logical to me to change the production puppetfile's moduledir to
> manage the /etc/puppet/modules directory, and have all other environments
> manage their own environments moduledirectory
> (/etc/puppet/environments/<environment>... That way the lookup hierarchy
> for modules will first look in the specific environment. If them module is
> not found, the production version of the module will be deployed. Is this
> recommended/ are there better ways of doing this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/ea3009d7-09b9-4797-9087-3c012a0d9e49%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/ea3009d7-09b9-4797-9087-3c012a0d9e49%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAC76iT9WXcW4biKUXZYgJAUtNnnSC9GeXR5K33YhhjRgJd7EYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to