fix clone

This commit is contained in:
John Bintz 2012-08-21 16:34:22 -04:00
parent c615943cc0
commit 882ec74fe0

View File

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