tweak git clone

This commit is contained in:
John Bintz 2012-08-16 11:37:08 -04:00
parent ff3fffc206
commit c615943cc0

View File

@ -2,8 +2,6 @@ Puppet::Type.type(:git).provide(:clone) do
desc "Clone/pull a git repo"
def create
p ENV
system key_check_command
if $?.exitstatus != 0
@ -45,7 +43,7 @@ Puppet::Type.type(:git).provide(:clone) do
command = %{su -c "#{command}" #{@resource[:user]}}
end
command.tap { |o| p o }
command
end
def path