diff --git a/manifests/logging/channel.pp b/manifests/logging/channel.pp index 0c535a1c..f1386686 100644 --- a/manifests/logging/channel.pp +++ b/manifests/logging/channel.pp @@ -58,7 +58,7 @@ if empty($file_size) { fail('dns::logging::channel: "file_size" needs to be set with log type file') } - if empty($file_versions) { + if !$file_versions { fail('dns::logging::channel: "file_versions" needs to be set with log type file') } }