Skip to content

Commit

Permalink
remove unneccesary osfamily check in param
Browse files Browse the repository at this point in the history
  • Loading branch information
nehalrp committed Jan 16, 2020
1 parent 8e1c1f8 commit d1e3547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit d1e3547

Please # to comment.