Merge "Add zuul pack-refs cron"

This commit is contained in:
Jenkins 2013-12-05 15:59:34 +00:00 committed by Gerrit Code Review
commit ace2cf4b19

View File

@ -222,6 +222,17 @@ class zuul (
require => File['/etc/init.d/zuul'],
}
cron { 'zuul_repack':
user => 'zuul',
weekday => '0',
hour => '4',
minute => '7',
command => 'find /var/lib/zuul/git/ -maxdepth 3 -type d -name ".git" -exec git --git-dir="{}" pack-refs --all \;',
environment => 'PATH=/usr/bin:/bin:/usr/sbin:/sbin',
require => [User['zuul'],
File['/var/lib/zuul/git']],
}
apache::vhost { $vhost_name:
port => 443,
docroot => 'MEANINGLESS ARGUMENT',