fix clone
This commit is contained in:
parent
c615943cc0
commit
882ec74fe0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user