Issue #7607 has been updated by Brian Wong.

Nick,
Thank you for your comments. Although the environments guide does mention 
$environment's special behavior, it continues to only describe the case of 
interpolation inside a manifest. 

If possible, I would like to see a small update to the documentation describing 
$environment interpolation in the Puppet master's configuration file or 
referencing another document about general interpolation which will help the 
reader come to this conclusion themselves. That way the documentation will be 
more helpful now until it undergoes the complete overhaul in the future. Is 
this agreeable? 
----------------------------------------
Bug #7607: Environment Variable Interpolation on Puppet Master
https://projects.puppetlabs.com/issues/7607

Author: Brian Wong
Status: Accepted
Priority: Normal
Assignee: Nick Fagerlund
Category: 
Target version: 
Keywords: 
Branch: 
Affected URL: 


The Puppet documentation on using Environments is described at the following 
URI:
http://docs.puppetlabs.com/guides/environment.html

I stumbled upon a blog which states how it is possible to have a Puppet agent's 
environment be interpolated into the Puppet Master's configuration file. This 
obviates the need to create an environment declaration for every possible 
Puppet environment that will be used in the Puppet Master's configuration file. 
The blog article can be found at:
http://hunnur.com/blog/2010/10/dynamic-git-branch-puppet-environments/

The official Puppet documentation on Environments only mentions how the 
'$environment' variable is interpreted in manifests, but it does not mention 
that this interpolation is possible in the Puppet Master configuration file. 
This undocumented feature allows for greater flexibility.

Please update the Puppet documentation on Environments to reference this 
feature and why it is more flexible with many Puppet environments. Engineers 
using Puppet may have chosen a less scalable method of integrating Puppet into 
their infrastructure being oblivious of this feature. Thank you.


-- 
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