fix clone

This commit is contained in:
John Bintz 2012-08-21 16:34:22 -04:00
parent c615943cc0
commit 882ec74fe0
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ Puppet::Type.type(:git).provide(:clone) do
if @resource[:user]
command = %{su -c "#{command}" #{@resource[:user]}}
else
command = %{sh -c "#{command}"}
end
command