diff options
author | Louis-Philippe VĂ©ronneau <pollito@riseup.net> | 2017-01-21 15:06:41 -0500 |
---|---|---|
committer | Louis-Philippe VĂ©ronneau <pollito@riseup.net> | 2017-01-21 15:06:41 -0500 |
commit | 5b5a5950c8600cbac53f92c3d2832347aa81f059 (patch) | |
tree | 70053fcaac77e0f4ebad21b8a648080fbd6e075a /manifests | |
parent | 48614706954323d458446cc63db1bd408f8d9138 (diff) |
use include instead of inherits
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/reboot_required_notify/jessie.pp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/reboot_required_notify/jessie.pp b/manifests/reboot_required_notify/jessie.pp index 0dd6a18..18e619d 100644 --- a/manifests/reboot_required_notify/jessie.pp +++ b/manifests/reboot_required_notify/jessie.pp @@ -1,4 +1,6 @@ -class apt::reboot_required_notify::jessie ($ensure = present) inherits apt { +class apt::reboot_required_notify::jessie ($ensure = present) { + + include apt if $::operatingsystemmajrelease == 8 and ! $::apt::use_backports { fail('apt::reboot_required_notify requires $apt::use_backports on Jessie') |