Skip to content

Commit

Permalink
Merge pull request #16 from noodle10000/master
Browse files Browse the repository at this point in the history
Fix params.pp where Fedora release version is checked
  • Loading branch information
jhoblitt committed Apr 4, 2016
2 parents e834722 + 1dedeb2 commit 4abfdeb
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 @@ -13,7 +13,7 @@
}
'redhat': {
if $::operatingsystem == 'Fedora' {
if ($::operatingsystemmajrelease >= 20) {
if (versioncmp($::operatingsystemmajrelease,'20') >=0) {
$udev_package = 'systemd'
$udevtrigger = 'udevadm trigger'
$udevlogpriority = 'udevadm control --log-priority'
Expand Down

0 comments on commit 4abfdeb

Please sign in to comment.