Fixed nfs::client for Ubuntu.
This commit is contained in:
parent
70219ad874
commit
e04178d0e3
1 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,10 @@ class nfs::client {
|
|||
|
||||
package { "nfs-utils":
|
||||
ensure => installed,
|
||||
name => $::operatingsystem ? {
|
||||
"ubuntu" => "nfs-common",
|
||||
default => "nfs-utils",
|
||||
},
|
||||
}
|
||||
|
||||
if $::operatingsystem == "Fedora" and $::operatingsystemrelease >= 16 {
|
||||
|
@ -23,6 +27,7 @@ class nfs::client {
|
|||
/^([1-9]|1[0-5])$/ => "nfslock",
|
||||
default => "nfs-lock",
|
||||
},
|
||||
"ubuntu" => "statd",
|
||||
default => "nfslock",
|
||||
},
|
||||
ensure => running,
|
||||
|
|
Loading…
Add table
Reference in a new issue