Hi there,

I have a strange problem that used to work and I can't remember changing 
anything besides upgrading to newer versions of puppet. I use puppet 3.7.2 
now.
And the config and everything looks ok to me.

Here is what happens:
When I execute:
sudo puppet apply -e "include mod::manifest"

I get an Error:
Error: Could not find class mod::manifest for .....

When I give a modulepath, everything works fine:
sudo puppet apply --modulepath /puppet/modules -e "include mod::manifest"

But the same modulepath is also configured in my environment. Here are the 
config files:

#############################################################################
# /etc/puppet.conf
#############################################################################
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter

environmentpath = $confdir/environments
report=true
pluginsync=true

#############################################################################
# /etc/puppet/environments/production/environment.conf
#############################################################################
manifest=/puppet/manifests
modulepath=/puppet/modules

#############################################################################
# sudo puppet config print | grep module
#############################################################################
module_repository = https://forgeapi.puppetlabs.com
module_working_dir = /var/lib/puppet/puppet-module
module_skeleton_dir = /var/lib/puppet/puppet-module/skeleton
module_groups = 
basemodulepath = /etc/puppet/modules:/usr/share/puppet/modules
modulepath = /puppet/modules


Any ideas what is going wrong?

Like I said, I'm pretty sure this used to work a while ago. Maybe a few month 
at the most.


Thanks,

   Malte


-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/10e23a9b-8dd5-4c19-a81d-771e1dd5828c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to