Merge "Add zuul pack-refs cron"
This commit is contained in:
commit
ace2cf4b19
@ -222,6 +222,17 @@ class zuul (
|
|||||||
require => File['/etc/init.d/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:
|
apache::vhost { $vhost_name:
|
||||||
port => 443,
|
port => 443,
|
||||||
docroot => 'MEANINGLESS ARGUMENT',
|
docroot => 'MEANINGLESS ARGUMENT',
|
||||||
|
Loading…
Reference in New Issue
Block a user