Merge "Fix operatingsystem major release fact name"
This commit is contained in:
commit
d2d648ca6c
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
class zuul::systemd_reload(
|
||||
) {
|
||||
if versioncmp($::operatingsystemmajversion, '16.04') >= 0 and ! defined(Exec['systemctl-daemon-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',
|
||||
|
|
Loading…
Reference in New Issue