Skip to content

Commit

Permalink
Merge pull request #47 from rstory/master
Browse files Browse the repository at this point in the history
support for facter 1.6 (used in epel 6 puppet)
  • Loading branch information
stahnma committed Dec 5, 2015
2 parents 3bb8a46 + 94bfb3f commit 1b9951f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/params.pp
Expand Up @@ -8,7 +8,7 @@
# the most specific declaration of proxy.
$proxy = 'absent'

if $::operatingsystemmajrelease {
if getvar('::operatingsystemmajrelease') {
$os_maj_release = $::operatingsystemmajrelease
} else {
$os_versions = split("${::operatingsystemrelease}", '[.]') # lint:ignore:only_variable_string
Expand Down

0 comments on commit 1b9951f

Please sign in to comment.