Merge "Adds expire_old_reviews.py to puppet"

This commit is contained in:
Jenkins 2012-01-23 22:51:38 +00:00 committed by Gerrit Code Review
commit b63c79a982

View File

@ -54,6 +54,18 @@ $commentlinks = [ { name => 'changeid',
command => 'sleep $((RANDOM\%60+90)) && cd /home/gerrit2/openstack-ci && python gerrit/close_pull_requests.py'
}
cron { "expireoldreviews":
user => gerrit2,
hour => 6,
minute => 3,
command => 'cd /home/gerrit2/openstack-ci && python gerrit/expire_old_reviews.py'
}
file { "/var/log/gerrit":
ensure => "directory",
owner => 'gerrit2'
}
file { '/home/gerrit2/github.config':
owner => 'root',
group => 'root',