Hi Victor, Have you verified that you have the necessary options specified in your puppet.conf to turn on directory environments?
https://docs.puppetlabs.com/puppet/latest/reference/environments_configuring.html#enabling-directory-environments-in-puppet-enterprise https://docs.puppetlabs.com/puppet/latest/reference/environments_configuring.html#enabling-directory-environments-in-open-source-puppet Below is a snippet of what we specified (open source Puppet 3.7.0). [master] default_manifest = ./manifests environmentpath = $confdir/environments $confdir/environments expands out to be '/etc/puppet/environments'. -Riley ----- Original Message ----- | From: "Victor Danilchenko" <[email protected]> | To: [email protected] | Sent: Tuesday, 28 October, 2014 12:08:00 | Subject: [Puppet Users] Delving into Puppet code -- where should I ask? | So, as I posted on the adjacent thread, I have been having a problem with | Puppet master 3.7 not reading the contents of my directory environments; it | recognizes their existence, but ignores modules, manifests, and | environment.conf therein. | Trying to fish this problem out, I decided to go some code spelunking, and I | quickly realized that tracing my way through that code is very hard -- the | execution paths are weird and twisted. I have no idea where stuff is | SUPPOSED to happen; I can see that my environment/production/modules | directory isn't getting read, but I don't know where it's supposed to get | read. | So, I was thinking about finding some puppet developers, and simply asking | for some pointers -- namely, in which module/class/method is Puppet supposed | to actually scan environment contents? I think I can take it from there, and | figure our why my environment modules directory gets ignored. | A quick google search turned up Puppet Developers group; however, I have a | suspicion that such a question might be inappropriate there -- it's for | actual puppet coding, not use and troubleshooting. | So, can anyone suggest a useful venue where I could ask questions related to | Puppet source code ? | Thanks. | -- | 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/5bdf2b86-f716-4921-a3b5-e7977947fb2b%40googlegroups.com | . | For more options, visit https://groups.google.com/d/optout . -- 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/789856517.52541033.1414523679050.JavaMail.zimbra%40sfu.ca. For more options, visit https://groups.google.com/d/optout.
