Issue #3517 has been updated by Paul Lathrop. Affected version changed from 0.25.4 to development
Luke Kanies wrote: > I can only see this being the case if your default information (i.e., what > you get if you have no environment-specific information specified) is the > same as your production information. If your config looks like this: > [...] > Then yeah, anything other than 'dev' gets /foo/site.pp, including "invalid" > environments. > > The only way to fix this in 0.25 is to not use the default values as one of > your environments; I've confirmed that this will throw an error. > > However, this isn't currently working in master, so I don't know what we'll > do there. I hadn't thought we were doing that but I went and checked and sure enough... So, yeah, I think we should fix it in master, but I've just confirmed it isn't broken in 0.25.4 ---------------------------------------- Bug #3517: Puppet silently passes out production environment manifests when requested environment is unknown. http://projects.puppetlabs.com/issues/3517 Author: Paul Lathrop Status: Needs more information Priority: Normal Assigned to: Luke Kanies Category: compiler Target version: Rowlf Affected version: development Keywords: Branch: When a client checks in to the puppetmaster asking for a specific environment, if that environment is undefined in the puppetmaster's configuration file, the puppetmaster silently passes out configurations from the production environment. We discussed this on the mailing list: http://groups.google.com/group/puppet-users/browse_thread/thread/7df9d80bc55cf4ae/7f331374d08a0cce and seem to have reached consensus that this is a non-ideal behavior. I think that at a bare minimum this should produce a Warning, ideally I believe it should be an error. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
