On 11/06/13 13:04, Peter Van Biesen wrote:
> Hi,
> 
> we recently upgraded from 2.7 to 3.2. We do not use ENC but use the
> node.rb for uploading the reports to foreman. However, the 3.2
> puppetmaster overrides the environment that's been set in the
> puppet.conf. Is there a way to turn this off ?

I don't think you can disable this behaviour, since it's a fix.

In Foreman, you can disable the environment being set by setting
"enc_environment" to false under More>Settings>Puppet.

Recent node.rb ENC scripts can also take a --no-environment option to do
the same, which you can set in puppet.conf.

Lastly, you can disable the ENC script if you don't use it for classes
or parameters and instead add "/etc/puppet/node.rb --push-facts" to a
cronjob, which will just upload facts for all hosts to Foreman instead.

-- 
Dominic Cleal
Red Hat Engineering

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to