Set cron job to gc repositories instead of repack

Change I4e171b17a7b4 replaced repack with gc for the git replication
and mirrors but did not include the repos for the gerrit site.  This
will change will enable gc for the repos in the gerrit site and local
replication on review.o.o

Change-Id: I2ff5f40830c3753f24e65dfb44ae9272266d7be1
Depends-on: I7a5364a07c3e07ffc9a053a73fab0c16861fc1c5
This commit is contained in:
Khai Do 2016-07-14 13:00:46 -07:00
parent 65bab038bc
commit e4744ad78c

View File

@ -187,7 +187,9 @@ class openstack_project::gerrit (
}
if ($testmode == false) {
include gerrit::cron
class { 'gerrit::cron':
gitgc_repos => true,
}
class { 'github':
username => $github_username,
project_username => $github_project_username,