From 810e597426be3e9bd640aa5e83ad93b18060a0db Mon Sep 17 00:00:00 2001 From: Nehal Patel Date: Wed, 15 Jan 2020 21:45:11 -0800 Subject: [PATCH] remove unneccesary osfamily check in param --- manifests/params.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 10338ee..5850d49 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -8,7 +8,7 @@ # the most specific declaration of proxy. $proxy = 'absent' - if "${::osfamily}" == 'RedHat' and "${::operatingsystem}" == 'Amazon' { + if "${::operatingsystem}" == 'Amazon' { # Amazon Linux 2 is equivalent of Enterprise Linux 7 so we use that version for epel # https://aws.amazon.com/premiumsupport/knowledge-center/ec2-enable-epel/ $os_maj_release = '7'