Revert "Stop running manage-projects"

This reverts commit 3f91756477
This commit is contained in:
Anita Kuno 2014-02-09 20:10:31 +00:00 committed by Gerrit Code Review
parent 38a3113027
commit f063f71651
2 changed files with 16 additions and 3 deletions

View File

@ -370,6 +370,21 @@ 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,
require => [
File['/home/gerrit2/projects.yaml'],
File['/home/gerrit2/acls'],
Class['jeepyb'],
],
}
}
file { '/home/gerrit2/review_site/bin/set_agreements.sh':
ensure => present,

View File

@ -183,9 +183,7 @@ class openstack_project::review (
user => 'gerritbot',
vhost_name => $::fqdn,
}
class { 'gerrit::remotes':
ensure => absent,
}
include gerrit::remotes
file { '/home/gerrit2/.ssh':
ensure => directory,