On 11/03/2014 05:35 PM, Malte Finsterwalder wrote:
>
> But the same modulepath is also configured in my environment. Here are
> the config files:
> #############################################################################
> # /etc/puppet/environments/production/environment.conf
> #############################################################################
> manifest=/puppet/manifests
> modulepath=/puppet/modules
Uh, this makes me cringe a bit.
With an
environmentpath=$confdir/environments
and
environment=production
you should really store your modules in
/etc/puppet/environments/production/modules
Then it suffices to specify the manifest directory in environment.conf
manifest=manifests
Note that this is a relative path, as it should be. Don't try and refer
to absolute paths from your environments. This can only lead to pain
down the road.
HTH,
Felix