nfs: Fixed nfslock service for CentOS 7.
This commit is contained in:
parent
977776c623
commit
6ccc9005b3
1 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,10 @@ class nfs::client {
|
|||
|
||||
service { "nfslock":
|
||||
name => $::operatingsystem ? {
|
||||
"centos" => $::operatingsystemrelease ? {
|
||||
/^[1-6]/ => "nfslock",
|
||||
default => "nfs-lock",
|
||||
},
|
||||
"fedora" => $::operatingsystemrelease ? {
|
||||
/^([1-9]|1[0-5])$/ => "nfslock",
|
||||
default => "nfs-lock",
|
||||
|
|
Loading…
Add table
Reference in a new issue