Remove verbose

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

Change-Id: Ib9497ddfeafafb58da0fb9bda07bd974e3d90ced
This commit is contained in:
Iury Gregory Melo Ferreira
2016-09-27 20:36:07 -03:00
parent 2cfda26aed
commit d01eba77e6
3 changed files with 4 additions and 20 deletions

View File

@@ -112,10 +112,6 @@
# (optional) DEPRECATED. Use rabbit_virtual_host
# Defaults to undef.
#
# [*verbose*]
# (optional) Deprecated. should the daemons log verbose messages.
# Defaults to undef
#
class designate(
$package_ensure = present,
$common_package_name = $::designate::params::common_package_name,
@@ -142,13 +138,8 @@ class designate(
$purge_config = false,
#DEPRECATED PARAMETER
$rabbit_virtualhost = undef,
$verbose = undef,
) inherits designate::params {
if $verbose {
warning('verbose is deprecated, has no effect and will be removed after Newton cycle.')
}
if $rabbit_virtualhost {
warning('The parameter rabbit_virtualhost is deprecated, use rabbit_virtual_host.')
$rabbit_virtual_host_real = $rabbit_virtualhost

View File

@@ -85,12 +85,6 @@
# Defaults to undef.
# Example: 'Y-%m-%d %H:%M:%S'
#
# DEPRECATED PARAMETERS
#
# [*verbose*]
# (Optional) Deprecated. Should the daemons log verbose messages
# Defaults to undef
#
class designate::logging(
$use_syslog = false,
$use_stderr = true,
@@ -108,13 +102,8 @@ class designate::logging(
$instance_format = undef,
$instance_uuid_format = undef,
$log_date_format = undef,
#Deprecated
$verbose = undef,
) inherits ::designate::params {
if $verbose {
warning('verbose is deprecated, has no effect and will be removed after Newton cycle.')
}
# NOTE(spredzy): In order to keep backward compatibility we rely on the pick function
# to use designate::<myparam> first then designate::logging::<myparam>.
$use_syslog_real = pick($::designate::use_syslog,$use_syslog)

View File

@@ -0,0 +1,4 @@
---
other:
- The verbose option was marked to be removed in Ocata,
in Newton the option was deprecated.