The proposal is essentially to allow an 'agent specified' environment for
individual hosts similar to how the PE Console does. This would allow one
to run 'puppet agent -t --environment=feature' on hosts while still
globally enforcing the environment from the ENC (via enc_environment).
There is a --no-environment parameter in node.rb that deletes
environment from the yaml. This is per puppet master (you set
/etc/puppet/node.rb --no-environment in puppet.conf), but
is fairly straightforward. A simple hack would be to parse the yaml and
look for a some marker (parameter?) that strips the environment.
ยทยทยท
On Mon, Aug 03, 2015 at 09:15:53AM -0400, Josh Baird wrote:
> Does anyone have any feedback on #11248?
>
> The proposal is essentially to allow an 'agent specified' environment for
> individual hosts similar to how the PE Console does. This would allow one
> to run 'puppet agent -t --environment=feature' on hosts while still
> globally enforcing the environment from the ENC (via enc_environment).