From 7ce4a7d1172f6795829fad7c78ab6583f70d3ed6 Mon Sep 17 00:00:00 2001 From: bleiva Date: Tue, 9 Aug 2016 14:56:17 -0300 Subject: [PATCH] Fixing operatingsystem for Amazon Linux --- manifests/params.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/manifests/params.pp b/manifests/params.pp index 2bf83b94..91d48191 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -37,6 +37,17 @@ } } } + 'Amazon': { + $sx_fs_mount = '/selinux' + case $os_maj_release { + '4': { + $package_name = 'policycoreutils-python' + } + default: { + fail("${::operatingsystem}-${::os_maj_release} is not supported") + } + } + } default: { case $os_maj_release { '7': {