From a4801bc38f4ff35f9a47f3ef8577289354a4c4c8 Mon Sep 17 00:00:00 2001 From: Josh Sinfield Date: Mon, 1 Feb 2016 16:31:17 +0000 Subject: [PATCH] change case from operatingsystem to osfamily This is to encompass OracleLinux operatingsystem as well, which falls under the RedHat osfamily. Change-Id: I034f6cc28b298551b1d60ba375bdb1f480121d56 --- manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 4e5e7f5..52e01db 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -21,8 +21,8 @@ err('The type parameter is required.') } - case $::operatingsystem { - redhat, centos, amazon: { + case $::osfamily { + RedHat: { fstab { "fstab entry for ${source} to ${dest} as ${type}": ensure => $ensure,