Revert "Revert "Revert "Stop running manage-projects"""
Now that puppet is being driven centrally with sequencing,
we can let it run manage-projects too. We still don't want
the manage-projects cronjob run - so we'll want to add something
else to do upstream tracking.
This reverts commit aa84680c2a
Change-Id: I2fcc4165d49858df9ff2dc19613f992fb6b736f0
This commit is contained in:
parent
b55ed05a27
commit
f481337a0b
@ -374,6 +374,22 @@ class openstack_project::gerrit (
|
||||
source => 'puppet:///modules/openstack_project/gerrit/acls',
|
||||
require => Class['::gerrit']
|
||||
}
|
||||
|
||||
exec { 'manage_projects':
|
||||
command => '/usr/local/bin/manage-projects',
|
||||
timeout => 900, # 15 minutes
|
||||
subscribe => [
|
||||
File['/home/gerrit2/projects.yaml'],
|
||||
File['/home/gerrit2/acls'],
|
||||
],
|
||||
refreshonly => true,
|
||||
logoutput => true,
|
||||
require => [
|
||||
File['/home/gerrit2/projects.yaml'],
|
||||
File['/home/gerrit2/acls'],
|
||||
Class['jeepyb'],
|
||||
],
|
||||
}
|
||||
}
|
||||
file { '/home/gerrit2/review_site/bin/set_agreements.sh':
|
||||
ensure => present,
|
||||
|
Loading…
Reference in New Issue
Block a user