Revert "Add HOME variable to puppetd mcagent"
This reverts commit c7fc19f942
.
Closes-Bug: #1480192
Change-Id: Ia4664a51d30f4e07e2147427c2b5bf15af574b48
This commit is contained in:
parent
c7fc19f942
commit
68e741f8fc
|
@ -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