Merge "Fix operatingsystem major release fact name"

This commit is contained in:
Zuul 2018-06-05 22:22:16 +00:00 committed by Gerrit Code Review
commit d2d648ca6c
1 changed files with 1 additions and 1 deletions

View File

@ -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',