Merge "Revert "Add HOME variable to puppetd mcagent""
This commit is contained in:
commit
7802b7f3b9
|
@ -192,9 +192,7 @@ module MCollective
|
|||
cmd = cmd.join(" ")
|
||||
|
||||
output = reply[:output] || ''
|
||||
run(cmd, :stdout => :output, :chomp => true, :cwd => cwd,
|
||||
:environment => { 'LC_ALL' => 'en_US.UTF-8',
|
||||
'HOME' => '/root' })
|
||||
run(cmd, :stdout => :output, :chomp => true, :cwd => cwd, :environment => { 'LC_ALL' => 'en_US.UTF-8' })
|
||||
reply[:output] = "Called #{cmd}, " + output + (reply[:output] || '')
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue