Issue #3517 has been updated by Luke Kanies.

Status changed from Accepted to Needs more information
Assigned to set to Luke Kanies

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:
<pre>
[main]
manifest = /foo/site.pp

[dev]
manifest = /bar/site.pp
</pre>
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.
----------------------------------------
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: 0.25.4
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.

Reply via email to