Problem:
when hostgroup is updated from “facts” via “foreman_hostgroup”, then the environment should be inherited via hostgroup or from “default_puppet_environment” foreman var. But looks like it updates it from what puppet reports from puppet.conf. This looks like a pretty big bug as now one can update environment from virtually a puppet.conf file.
and
I also have “enc_environment” set to yes.
Expected outcome:
use “default_puppet_environment” when “enc_environment” set to yes or at least use hostgroup’s value rather than using what is presented by puppet from puppet.conf
Foreman and Proxy versions:
3.15,3.15
Distribution and version:
centos stream 9
Other relevant data: