From 2a9b81d0ee9a4bc549298404ae1aec2cdf6088d3 Mon Sep 17 00:00:00 2001 From: Alex Dacre Date: Wed, 15 Mar 2017 12:47:14 +0000 Subject: [PATCH] package_name_default should be an array for EL7. Service[cgconfig] fails with default options at the moment as cgconfig is now part of libcgroupt-tools. --- manifests/init.pp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index a22dac9..8b49677 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -16,9 +16,15 @@ case $::osfamily { 'RedHat': { case $::operatingsystemmajrelease { - '6','7': { + '6': { $package_name_default = 'libcgroup' } + '7': { + $package_name_default = [ + 'libcgroup', + 'libcgroup-tools', + ] + } default: { fail('cgroups is only supported on EL 6 and 7.') }