diff --git a/manifests/logging.pp b/manifests/logging.pp index 134f985..169baa5 100644 --- a/manifests/logging.pp +++ b/manifests/logging.pp @@ -99,12 +99,6 @@ # Defaults to $facts['os_service_default'] # Example: 'Y-%m-%d %H:%M:%S' # -# DEPRECATED PARAMETERS -# -# [*watch_log_file*] -# (Optional) Uses logging handler designed to watch file system (boolean value). -# Defaults to undef -# class vitrage::logging( $use_syslog = $facts['os_service_default'], $use_json = $facts['os_service_default'], @@ -125,8 +119,6 @@ class vitrage::logging( $instance_format = $facts['os_service_default'], $instance_uuid_format = $facts['os_service_default'], $log_date_format = $facts['os_service_default'], - # DEPRECATED PARAMETERS - $watch_log_file = undef, ) { include vitrage::deps @@ -139,7 +131,6 @@ class vitrage::logging( use_stderr => $use_stderr, log_dir => $log_dir, log_file => $log_file, - watch_log_file => $watch_log_file, syslog_log_facility => $log_facility, logging_context_format_string => $logging_context_format_string, logging_default_format_string => $logging_default_format_string, diff --git a/releasenotes/notes/remove-watch_log_file-064e4611a63a4e7b.yaml b/releasenotes/notes/remove-watch_log_file-064e4611a63a4e7b.yaml new file mode 100644 index 0000000..025bf11 --- /dev/null +++ b/releasenotes/notes/remove-watch_log_file-064e4611a63a4e7b.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + The ``vitrage::logging::watch_log_file`` parameter has been removed. diff --git a/spec/classes/vitrage_logging_spec.rb b/spec/classes/vitrage_logging_spec.rb index ac6d5c7..51e0ac8 100644 --- a/spec/classes/vitrage_logging_spec.rb +++ b/spec/classes/vitrage_logging_spec.rb @@ -30,7 +30,6 @@ describe 'vitrage::logging' do :log_facility => 'LOG_FOO', :log_dir => '/var/log', :log_file => '/var/log/vitrage.log', - :watch_log_file => true, :debug => true, } end @@ -82,7 +81,6 @@ describe 'vitrage::logging' do :syslog_log_facility => 'LOG_FOO', :log_dir => '/var/log', :log_file => '/var/log/vitrage.log', - :watch_log_file => true, :debug => true, ) end