Issue #7607 has been updated by Nick Fagerlund.

Hmm, good catch. Actually, the name of any configuration option can be used as 
a variable in the config file (try, e.g., `modulepath = $certname`, although 
that's kind of a nonsensical example), and we don't call that out very 
prominently. 

I think this'll entail some more heavy-duty reorganization of the docs around 
config files. I'll get busy with that.
----------------------------------------
Bug #7607: Environment Variable Interpolation on Puppet Master
https://projects.puppetlabs.com/issues/7607

Author: Brian Wong
Status: Unreviewed
Priority: Normal
Assignee: 
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