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 at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to