Fix lint warnings about ensure placement
This commit is contained in:
parent
a8ebd9417c
commit
96fb1bacbc
21 changed files with 53 additions and 48 deletions
|
@ -22,6 +22,8 @@ class nfs::client {
|
|||
}
|
||||
|
||||
service { "nfslock":
|
||||
ensure => running,
|
||||
enable => true,
|
||||
name => $::operatingsystem ? {
|
||||
"centos" => $::operatingsystemrelease ? {
|
||||
/^[1-6]/ => "nfslock",
|
||||
|
@ -34,8 +36,6 @@ class nfs::client {
|
|||
"ubuntu" => "statd",
|
||||
default => "nfslock",
|
||||
},
|
||||
ensure => running,
|
||||
enable => true,
|
||||
hasstatus => true,
|
||||
require => Package["nfs-utils"],
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue