Fix lint warnings about ensure placement
This commit is contained in:
parent
a8ebd9417c
commit
96fb1bacbc
21 changed files with 53 additions and 48 deletions
|
@ -5,6 +5,7 @@ class netcat {
|
|||
|
||||
if $::operatingsystem != "OpenBSD" {
|
||||
package { "netcat":
|
||||
ensure => present,
|
||||
name => $::operatingsystem ? {
|
||||
"debian" => "netcat",
|
||||
"ubuntu" => "netcat",
|
||||
|
@ -18,7 +19,6 @@ class netcat {
|
|||
},
|
||||
default => "nc",
|
||||
},
|
||||
ensure => present,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue