From 2ecc85819566ed2ce6d6894a71fff32b416d8fb9 Mon Sep 17 00:00:00 2001 From: Tech SOGEECOM Date: Thu, 22 Sep 2016 15:13:47 -0400 Subject: fix issue #15 --- manifests/reboot_required_notify/jessie.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/reboot_required_notify') diff --git a/manifests/reboot_required_notify/jessie.pp b/manifests/reboot_required_notify/jessie.pp index 2de6b62..6aac2b7 100644 --- a/manifests/reboot_required_notify/jessie.pp +++ b/manifests/reboot_required_notify/jessie.pp @@ -1,4 +1,4 @@ -class apt::reboot_required_notify::jessie ($ensure = present) { +class apt::reboot_required_notify::jessie ($ensure = present) inherits apt{ if $::operatingsystemmajrelease == 8 and ! $::apt::use_backports { fail('apt::reboot_required_notify requires $apt::use_backports on Jessie') -- cgit v1.2.3 From e57b37aa884713b6ff6273235ca002ae438cfb4f Mon Sep 17 00:00:00 2001 From: Tech SOGEECOM Date: Thu, 22 Sep 2016 15:56:02 -0400 Subject: fix missing whitespace --- manifests/reboot_required_notify/jessie.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/reboot_required_notify') diff --git a/manifests/reboot_required_notify/jessie.pp b/manifests/reboot_required_notify/jessie.pp index 6aac2b7..0dd6a18 100644 --- a/manifests/reboot_required_notify/jessie.pp +++ b/manifests/reboot_required_notify/jessie.pp @@ -1,4 +1,4 @@ -class apt::reboot_required_notify::jessie ($ensure = present) inherits apt{ +class apt::reboot_required_notify::jessie ($ensure = present) inherits apt { if $::operatingsystemmajrelease == 8 and ! $::apt::use_backports { fail('apt::reboot_required_notify requires $apt::use_backports on Jessie') -- cgit v1.2.3 From 5b5a5950c8600cbac53f92c3d2832347aa81f059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis-Philippe=20V=C3=A9ronneau?= Date: Sat, 21 Jan 2017 15:06:41 -0500 Subject: use include instead of inherits --- manifests/reboot_required_notify/jessie.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'manifests/reboot_required_notify') 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') -- cgit v1.2.3