Browse Source

Remove verbose

Since we are in Ocata we should remove the
verbose option that was deprecated

Change-Id: Iec9841f64870e47326edc4d056386dda2a85cc37
changes/94/378094/1
Iury Gregory Melo Ferreira 6 years ago
parent
commit
f374a0bf6e
  1. 9
      manifests/init.pp
  2. 9
      manifests/logging.pp
  3. 4
      releasenotes/notes/remove_verbose-a2969f741999c0e5.yaml

9
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')

9
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.')
}

4
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.
Loading…
Cancel
Save