From f374a0bf6ef818df2d1c78fb2bcc59519289d580 Mon Sep 17 00:00:00 2001 From: Iury Gregory Melo Ferreira Date: Tue, 27 Sep 2016 20:13:46 -0300 Subject: [PATCH] Remove verbose Since we are in Ocata we should remove the verbose option that was deprecated Change-Id: Iec9841f64870e47326edc4d056386dda2a85cc37 --- manifests/init.pp | 9 --------- manifests/logging.pp | 9 --------- releasenotes/notes/remove_verbose-a2969f741999c0e5.yaml | 4 ++++ 3 files changed, 4 insertions(+), 18 deletions(-) create mode 100644 releasenotes/notes/remove_verbose-a2969f741999c0e5.yaml diff --git a/manifests/init.pp b/manifests/init.pp index 4912df268..3b92734b6 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -360,10 +360,6 @@ # # DEPRECATED PARAMETERS # -# [*verbose*] -# (optional) Deprecated. Verbose logging -# Defaults to undef -# # [*log_facility*] # (optional) Syslog facility to receive log lines # Defaults to undef @@ -460,7 +456,6 @@ class neutron ( $notification_topics = $::os_service_default, $notification_transport_url = $::os_service_default, # DEPRECATED PARAMETERS - $verbose = undef, $log_facility = undef, $advertise_mtu = undef, $allow_pagination = undef, @@ -473,10 +468,6 @@ class neutron ( include ::neutron::logging } - if $verbose { - warning('verbose is deprecated, has no effect and will be removed after Newton cycle.') - } - if ! is_service_default($use_ssl) and ($use_ssl) { if is_service_default($cert_file) { fail('The cert_file parameter is required when use_ssl is set to true') diff --git a/manifests/logging.pp b/manifests/logging.pp index 1ebb59f2c..a344ef624 100644 --- a/manifests/logging.pp +++ b/manifests/logging.pp @@ -99,10 +99,6 @@ # # DEPRECATED PARAMETERS # -# [*verbose*] -# (optional) Deprecated. Verbose logging -# Defaults to undef -# # [*log_facility*] # (optional) Syslog facility to receive log lines # Defaults to undef @@ -128,7 +124,6 @@ class neutron::logging ( $instance_uuid_format = $::os_service_default, $fatal_deprecations = $::os_service_default, # Deprecated - $verbose = undef, $log_facility = undef, ) { @@ -140,10 +135,6 @@ class neutron::logging ( $log_file_real = pick($::neutron::log_file,$log_file) $log_dir_real = pick($::neutron::log_dir,$log_dir) - if $verbose { - warning('verbose is deprecated, has no effect and will be removed after Newton cycle.') - } - if $log_facility { warning('log_facility is deprecated, has no effect and will be removed after Newton cycle. Please use syslog_log_facility instead.') } diff --git a/releasenotes/notes/remove_verbose-a2969f741999c0e5.yaml b/releasenotes/notes/remove_verbose-a2969f741999c0e5.yaml new file mode 100644 index 000000000..9a865cd5b --- /dev/null +++ b/releasenotes/notes/remove_verbose-a2969f741999c0e5.yaml @@ -0,0 +1,4 @@ +--- +other: + - The verbose option was marked to be removed in Ocata, + in Newton the option was deprecated.