On Tue, Jun 15, 2010 at 1:00 AM, Thomas Bellman <[email protected]> wrote: > On 2010-06-15 01:21, Nigel Kersten wrote: > >> Sorry, I wasn't quite clear. You need to make this accessible to the >> libdir on the *server*. >> >> So whatever your puppetmasterd libdir is, you need to somehow ensure >> the types/providers are there. We do it with symlinks. > > I think it is sufficient to set modulepath under [puppetmasterd] in > the puppet.conf file. I do: > > [puppetmasterd] > modulepath = /config/e/production/modules > ... > > where /config/e/production is where my production environment lives. > Then puppetmasterd will look in /config/e/production/modules/*/lib > for custom types, functions and facts.
I dislike setting a default modulepath, as it means that's the one clients get if they incorrectly specify their environment. > > > /Bellman > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- nigel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
