Am Montag, 27. Oktober 2014 22:43:07 UTC+1 schrieb Victor Danilchenko: > > 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? >
have you configured the environment.conf file? https://docs.puppetlabs.com/puppet/latest/reference/config_file_environment.html - Thomas -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/8e8d5829-a486-48fd-9833-f6bac5dc66eb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.