Skip to content

Commit

Permalink
typo, need to quote the string to compare $::operatingsystemmajreleas…
Browse files Browse the repository at this point in the history
…e to
  • Loading branch information
csmithXTX committed Apr 4, 2016
1 parent 675434c commit 1dedeb2
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 (versioncmp($::operatingsystemmajrelease,20) >=0) {
if (versioncmp($::operatingsystemmajrelease,'20') >=0) {
$udev_package = 'systemd'
$udevtrigger = 'udevadm trigger'
$udevlogpriority = 'udevadm control --log-priority'
Expand Down

0 comments on commit 1dedeb2

Please sign in to comment.