Merge "Revert "Revert "Revert "Stop running manage-projects""""

This commit is contained in:
Jenkins 2014-04-18 20:04:55 +00:00 committed by Gerrit Code Review
commit ba4f813ebb

View File

@ -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,