Victor Danilchenko
2014-Oct-27 21:43 UTC
[Puppet Users] Puppet directory environments mysteriously breaking -- help?
Hi all, I am running a puppetmaster setup on CentOS. We have out production environment working fine. However, I am trying to migrate from puppet 3.4, and from config environments to directory environments. I got my environments tree all set up in the puppet master, but when I activate my directory environments, puppetmaster suddently can't see any modules or manifests -- it runs, but returns empty catalog for the agent, and 'puppet modules list' says I have no modules installed: # puppet module list /usr/share/puppet/modules (no modules installed) None of the other global config files contain anything that references environments. My environment directory is set up correctly (it works on our production puppetmaster), and it works when I point the puppetmaster at it *explicitly*: # puppet module --confdir=/etc/puppet/environments/production/modules:/usr/share/puppet/modules list /etc/puppet/environments/production/modules ├── apache (???) ├── awstats (???) etc. Here's my main config file, stripped of comments: [main] certname=kmadmin102 dns_alt_names=kmadmin102.vistaprint.net,test-kmpuppet,test-kmpuppet. vistaprint.net,kmadmin102.vistaprint.net logdir = /var/log/puppet/ rundir = /var/run/puppet ssldir = $vardir/ssl pluginsync = true certificate_revocation = false report = false configtimeout = 4m *environmentpath **= $confdir/**environments* default_manifest = $confdir/manifests basemodulepath = $confdir/modules:/usr/share/puppet/modules [agent] classfile = $vardir/classes.txt localconfig = $vardir/localconfig [master] Can someone see what I am doing wrong? I also have PuppetDB installed, but that shouldn't affect 'puppet modules list' command. Puppet fails the same way with or without PuppetDB. -- 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 puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/9007c7bf-b993-450e-acaf-e4d6ef032ccd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.