Fix lint warnings about ensure placement

This commit is contained in:
Ossi Salmi 2015-05-04 11:00:36 +03:00
parent a8ebd9417c
commit 96fb1bacbc
21 changed files with 53 additions and 48 deletions

View file

@ -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"],
}