systemd daemon-reload is triggered too late in the run by default
While the "~>" operator properly triggers a refresh for the runsvdir-start service, it doesn't help, because systemd daemon-reload only happens latter towards the very end of the run. (This is apparently fixed in puppet 6 or 6.1) For the moment I added
Exec { 'restart-runsv':
command => 'systemctl daemon-reload; systemctl restart runsvdir-start',
path => '/bin',
user => 'root',
group => 'root',
refreshonly => true,
}
To the voilcdirac manifests including some "requires" and "notifies" to trigger this before attempting to install dirac components.
Should we put this into the dirac module directly?