Issue #22728 has been reported by Garrett Honeycutt.

----------------------------------------
Feature #22728: ability to specify environments.d in puppet.conf for an easier 
way to manage environments
https://projects.puppetlabs.com/issues/22728

* Author: Garrett Honeycutt
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: settings
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
The current method for managing environments on the puppet master is cumbersome 
and would be better served by using a file fragments pattern. This feature 
would make it much easier for those who programmatically manage multiple 
environments.


Currently configuring environments requires specifying new ini style blocks 
within puppet.conf, such as the following.

<pre>
[dev]
  someoptions = somevalues

[test]
  someoptions = somevalues
</pre>

While this functionality should not change, we should have a configuration 
setting that allows one to specify a directory which includes file fragments 
for specifying environment information.

This could be implemented with an option, `environments_dir` with a default 
setting of `$confdir/environments.d`

Within the environments_dir you could place files without the ini style 
`[heading]` and use the file name as the environment name and include all the 
options in the file within that environment.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to