Skip to content

Commit

Permalink
The path can exists, but wont contain .git directory
Browse files Browse the repository at this point in the history
  • Loading branch information
deigote committed Jan 8, 2013
1 parent 8b41bc3 commit 2a94d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/init.pp
Expand Up @@ -10,7 +10,7 @@
include git
exec { "git-http-clone-$name":
command => "/usr/bin/git clone `(echo $url | grep http) && (echo $url | awk -v u=$username -v p=$password -v at=@ -v dd=: -F:// '{ print \$1 FS u dd p at \$2 }') || echo $url` $path",
creates => "$path",
creates => "$path/.git",
require => Package["$git::package"]
}
}
Expand Down

0 comments on commit 2a94d99

Please sign in to comment.