Issue #6513 has been updated by Jacob Helwig. Status changed from Ready For Testing to Available In Testing Branch
Reviewed with Jesse Wolfe, and pushed to 2.6.next in commit:2092e61264899c742924a30148ebe1e079b60d38 ---------------------------------------- Bug #6513: Settings code does not propagate environment https://projects.puppetlabs.com/issues/6513 Author: Markus Roberts Status: Available In Testing Branch Priority: Normal Assignee: Category: settings Target version: Affected Puppet version: Keywords: Branch: https://github.com/jhelwig/puppet/tree/ticket/2.6.x/6513-propigate-environment-in-settings-values The code in settings does not always propagate the environment, creating situations in which inconsistent results can be produced. A simple (albeit highly contrived) example, given: test.conf <pre> [master] rrddir = /var/lib/puppet/rrd templatedir = /var/lib/puppet/templates [env_a] templatedir = $rrddir/templates rrddir = /tmp/env_a/ </pre> the command: <pre> RUBYLIB=lib bin/puppet master --config ./test.conf --environment env_a --configprint templatedir </pre> produces "/var/lib/puppet/rrd/templates" instead of the expected "/tmp/env_a/templates" This was independently discovered by Jacob Helwig & Seth Samuel by code inspection; there are no known reports of it in the wild. -- 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.
