Merge "Revert "Add HOME variable to puppetd mcagent""

This commit is contained in:
Jenkins 2015-08-03 13:52:56 +00:00 committed by Gerrit Code Review
commit 7802b7f3b9
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