Project

General

Profile

« Previous | Next » 

Revision 9d9071ed

Added by Dominic Cleal about 9 years ago

fixes #9928 - set HOME for foreman-config on all Puppet versions

View differences:

lib/puppet/provider/foreman_config_entry/cli.rb
end
else
output = Puppet::Util::Execution.execute(command,
{ :failonfail => false,
:combine => false,
:uid => 'foreman',
:gid => 'foreman' }.merge(options)
{ :failonfail => false,
:combine => false,
:custom_environment => { 'HOME' => '/usr/share/foreman' },
:uid => 'foreman',
:gid => 'foreman' }.merge(options)
)
status = $?
end

Also available in: Unified diff