13 lines
328 B
Puppet
13 lines
328 B
Puppet
# zuul::systemd_reload
|
|
#
|
|
class zuul::systemd_reload(
|
|
) {
|
|
if versioncmp($::operatingsystemmajrelease, '16.04') >= 0 and ! defined(Exec['systemctl-daemon-reload']) {
|
|
exec {'systemctl-daemon-reload':
|
|
command => 'systemctl daemon-reload',
|
|
path => '/bin:/usr/bin',
|
|
refreshonly => true,
|
|
}
|
|
}
|
|
}
|