Make lodgeit module use our lodgeit git repo

Our lodgeit repo has antispam and will have other features soon

Change-Id: I12b1f8c1bfb5a2442370a55f8527196364c91ec8
This commit is contained in:
Andrew Hutchings 2012-03-22 18:04:24 +00:00
parent e8e69d101c
commit 863f0c862a

View File

@ -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"
}