diff --git a/modules/lodgeit/manifests/init.pp b/modules/lodgeit/manifests/init.pp index 5a2dd5928d..e77eed223a 100644 --- a/modules/lodgeit/manifests/init.pp +++ b/modules/lodgeit/manifests/init.pp @@ -33,10 +33,11 @@ class lodgeit { hasrestart => true } -# if we already have the mercurial repo the pull updates +# if we already have the git repo the pull updates exec { "update_lodgeit": - command => "hg pull /tmp/lodgeit-main", + command => "git pull --ff-only", + cwd => "/tmp/lodgeit-main", path => "/bin:/usr/bin", onlyif => "test -d /tmp/lodgeit-main" } @@ -44,7 +45,7 @@ class lodgeit { # otherwise get a new clone of it exec { "get_lodgeit": - command => "hg clone https://bitbucket.org/dcolish/lodgeit-main /tmp/lodgeit-main", + command => "git clone git://github.com/openstack-ci/lodgeit.git /tmp/lodgeit-main", path => "/bin:/usr/bin", onlyif => "test ! -d /tmp/lodgeit-main" }