On Sat, Mar 5, 2011 at 10:48 AM, Jacob Helwig <[email protected]> wrote:

> For example with the following:
>
> test.conf:
>  [master]
>      rrddir = /var/lib/puppet/rrd
>      templatedir = /var/lib/puppet/templates
>  [env_a]
>      templatedir = $rrddir/templates
>      rrddir = /tmp/env_a/
>
> The command:
>  RUBYLIB=lib bin/puppet master --config ./test.conf --environment env_a
> --configprint templatedir
>
> originally produced '/var/lib/puppet/rrd/templates' instead of the
> expected '/tmp/env_a/templates'
>


Jacob, is this actually expanding the list of supported settings in
environments?

As I understand it, the only settings that work on a per-environment basis
currently are modulepath and manifestdir, and I thought this was a
deliberate design decision to push people towards using modules, rather than
explicitly having a templatedir, libdir, etc per environment.

I'm not at all convinced yet that every setting available in [master] should
be able to be set per [environment].

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en.

Reply via email to