Fixed nfs::client for Fedora versions older than 16.
This commit is contained in:
parent
dd9a78d8ae
commit
69c9979f70
1 changed files with 5 additions and 2 deletions
|
@ -9,7 +9,7 @@ class nfs::client {
|
|||
ensure => installed,
|
||||
}
|
||||
|
||||
if $::operatingsystem == "Fedora" {
|
||||
if $::operatingsystem == "Fedora" and $::operatingsystemrelease >= 16 {
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=692008
|
||||
service { "NetworkManager-wait-online":
|
||||
ensure => stopped,
|
||||
|
@ -19,7 +19,10 @@ class nfs::client {
|
|||
|
||||
service { "nfslock":
|
||||
name => $::operatingsystem ? {
|
||||
"fedora" => "nfs-lock",
|
||||
"fedora" => $::operatingsystemrelease ? {
|
||||
/^([1-9]|1[0-5])$/ => "nfslock",
|
||||
default => "nfs-lock",
|
||||
},
|
||||
default => "nfslock",
|
||||
},
|
||||
ensure => running,
|
||||
|
|
Loading…
Add table
Reference in a new issue