Skip to content

Commit

Permalink
Merge pull request #54 from jkroepke/feature/lsbmajdistrelease
Browse files Browse the repository at this point in the history
Fallback to lsbmajdistrelease, if puppet version is < 3.0
  • Loading branch information
jfryman committed Sep 21, 2015
2 parents d17d139 + 061537d commit 646bfb8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@
$sx_fs_mount = '/selinux'
$package_name = 'policycoreutils'
}
'': {
# Fallback to lsbmajdistrelease, if puppet version is < 3.0
if($::lsbmajdistrelease == 5) {
$sx_fs_mount = '/selinux'
$package_name = 'policycoreutils'
}
}
default: {
fail("${::operatingsystem}-${::operatingsystemmajrelease} is not supported")
}
Expand Down

0 comments on commit 646bfb8

Please sign in to comment.