Fix lint warnings about ensure placement
This commit is contained in:
parent
a8ebd9417c
commit
96fb1bacbc
21 changed files with 53 additions and 48 deletions
|
@ -4,6 +4,7 @@
|
|||
class sasl::client {
|
||||
|
||||
package { "cyrus-sasl":
|
||||
ensure => installed,
|
||||
name => $::operatingsystem ? {
|
||||
"debian" => "sasl2-bin",
|
||||
"ubuntu" => "sasl2-bin",
|
||||
|
@ -13,17 +14,16 @@ class sasl::client {
|
|||
"openbsd" => "ldap",
|
||||
default => undef,
|
||||
},
|
||||
ensure => installed,
|
||||
}
|
||||
|
||||
if $kerberos_realm and $::operatingsystem != "OpenBSD" {
|
||||
package { "cyrus-sasl-gssapi":
|
||||
ensure => installed,
|
||||
name => $::operatingsystem ? {
|
||||
"debian" => "libsasl2-modules-gssapi-mit",
|
||||
"ubuntu" => "libsasl2-modules-gssapi-mit",
|
||||
default => "cyrus-sasl-gssapi",
|
||||
},
|
||||
ensure => installed,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue