Correct path in mk-archives-index cronjob on lists
The mk-archives-index command is installed in /usr/local/sbin, so add that to the path of the cronjob which calls it. Otherwise, http://lists.opendev.org/archives.yaml is empty and engagement statistics cannot be generated. Change-Id: Ib49e8a7b78f8cb9cb385ba09b39e3f940cd17ad6
This commit is contained in:
parent
1263d89295
commit
25697d62bb
@ -31,7 +31,8 @@ class openstack_project::lists(
|
||||
hour => '0',
|
||||
minute => '0',
|
||||
command => 'mk-archives-index > /var/www/archives.yaml',
|
||||
environment => 'PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin',
|
||||
environment =>
|
||||
'PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin',
|
||||
require => File['/usr/local/sbin/mk-archives-index',
|
||||
],
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user