Commit be0b28b6 authored by Markus Frosch's avatar Markus Frosch 📣

pki::ci: Fix negated condition

Exclamation mark must be without space
parent d6c7d9fa
......@@ -48,7 +48,7 @@ class icinga2::pki::ca(
group => $group,
}
if ! $ca_cert or ! $ca_key {
if !$ca_cert or !$ca_key {
exec { 'create-icinga2-ca':
path => $::osfamily ? {
'windows' => 'C:/ProgramFiles/ICINGA2/sbin',
......@@ -59,7 +59,6 @@ class icinga2::pki::ca(
notify => Class['::icinga2::service'],
}
} else {
validate_string($ca_cert)
validate_string($ca_key)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment