nfs: Fix NFS server service name for CentOS 7.
This commit is contained in:
parent
205d781530
commit
85f598d885
1 changed files with 4 additions and 0 deletions
|
@ -124,6 +124,10 @@ class nfs::server(
|
|||
service { "nfs":
|
||||
ensure => running,
|
||||
name => $::operatingsystem ? {
|
||||
"centos" => $::operatingsystemrelease ? {
|
||||
/^[1-6]/ => "nfs",
|
||||
default => "nfs-server",
|
||||
},
|
||||
"fedora" => $::operatingsystemrelease ? {
|
||||
/^([1-9]|1[0-5])$/ => "nfs",
|
||||
default => "nfs-server",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue