Jeff, Thanks for the advice. What is the manifestdir setting for?
-eric On Nov 5, 1:49 pm, Jeff McCune <j...@puppetlabs.com> wrote: > Eric, > > I recommend defining classes inside of modules rather than > manifestdir. The two settings pertaining to environments are manifest > and modulepath, I do not believe manifestdir is customizable per > environment. > > Hope thus helps. > > -- > Jeff McCune - (+1-503-208-4484) > > On Nov 5, 2010, at 10:33 AM, Eric Snow <es...@verio.net> wrote: > > > > > > > > > I am using environments to manage my modules. I am using manifests > > out of the manifestdir as well, per environment. So my config for my > > development environment looks like this: > > > [development] > > modulepath = /usr/share/puppet/development/modules > > manifestdir = /usr/share/puppet/development/manifests > > > I have several manifests in the manifestdir that define classes which > > subsequently are used by classes in several of my modules. However, > > when the puppetmaster tries to pull everything during a run, it cannot > > find the classes defined in the manifests in my manifestdir, when > > referenced by the manifests in my modules. > > > Maybe I misunderstood the purpose of the manifestdir, but it is > > certainly not behaving the way I expected. My understanding is that > > all manifests (in manifestdir and in modules) are evaluated and > > everything at the top level of the manifest is bound to puppet's > > global namespace for that run. If the manifests in the manifestdir > > are not included in that evaluation then I definitely need to > > reorganize my manifests. My preference is to use the manifestdir the > > way I have it set up. Thanks. > > > -eric > > > -- > > You received this message because you are subscribed to the Google Groups > > "Puppet Users" group. > > To post to this group, send email to puppet-us...@googlegroups.com. > > To unsubscribe from this group, send email to > > puppet-users+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.