diff --git a/manifests/log.pp b/manifests/log.pp index e7e4be8..3f7f4e1 100644 --- a/manifests/log.pp +++ b/manifests/log.pp @@ -137,8 +137,9 @@ define oslo::log( $watch_log_file = undef, ){ - if $watch_log_file { - warning('The watch_log_file parameter has been deprecated and has no effect.') + if $watch_log_file != undef { + warning("The watch_log_file parameter has been deprecated \ +and will be removed in a future release.") $watch_log_file_real = $watch_log_file } else { $watch_log_file_real = $facts['os_service_default']