Revert "Add HOME variable to puppetd mcagent"

This reverts commit c7fc19f942.
Closes-Bug: #1480192

Change-Id: Ia4664a51d30f4e07e2147427c2b5bf15af574b48
This commit is contained in:
Matthew Mosesohn 2015-08-03 13:45:06 +00:00
parent c7fc19f942
commit 68e741f8fc
1 changed files with 1 additions and 3 deletions

View File

@ -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