diff options
author | Louis-Philippe VĂ©ronneau <pollito@riseup.net> | 2017-06-22 18:15:38 -0400 |
---|---|---|
committer | Louis-Philippe VĂ©ronneau <pollito@riseup.net> | 2017-06-22 18:15:38 -0400 |
commit | 66f1850e15e1843ba06e8fcc7245eaabe146a6ac (patch) | |
tree | 281dfec3fc0f11ee70e7bb9e0cc22802dba5344e /manifests | |
parent | f3db3309f3a3fc5ee0f621593ed83805798f7890 (diff) |
puppet 4 compat: mark integer as string
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/reboot_required_notify.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/reboot_required_notify.pp b/manifests/reboot_required_notify.pp index 3463bb4..a538c9a 100644 --- a/manifests/reboot_required_notify.pp +++ b/manifests/reboot_required_notify.pp @@ -1,6 +1,6 @@ class apt::reboot_required_notify { - if versioncmp($::operatingsystemmajrelease, 8) >= 0 { + if versioncmp($::operatingsystemmajrelease, '8') >= 0 { class { 'apt::reboot_required_notify::jessie': } # Clean up systems that were upgraded from Wheezy or earlier: class { 'apt::reboot_required_notify::wheezy': ensure => absent } |