tweak git clone

This commit is contained in:
John Bintz 2012-08-16 11:37:08 -04:00
parent ff3fffc206
commit c615943cc0
1 changed files with 1 additions and 3 deletions

View File

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