Andreas Dvorak <
andreas...@gmail.com> writes:
> currently I am running a Puppet Master with Foreman for reports and
> ENC and I have only one environment. The environment parameter in the
> file puppet.conf is not used because Foreman is an ENC.
> Now I want to configure different environments and want to set the
> environment in the puppet.conf of the Puppet agent.
you could also set 'enc_environment' to 'false' within foreman. it's
under 'Administer -> Settings -> Puppet'.
When set to 'false' foreman will not add the environment to the ENC's
yaml output. so you can keep node.rb that comes with foreman and
use all the other features it provides (e.g. adding classes, smart
variables...)
toni