Browse Source

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
changes/07/771107/1
Jeremy Stanley 7 months ago
parent
commit
25697d62bb
  1. 3
      modules/openstack_project/manifests/lists.pp

3
modules/openstack_project/manifests/lists.pp

@ -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…
Cancel
Save