Deprecate verbose option in logging

Option "verbose" from group "DEFAULT" is deprecated for removal.
The parameter has no effect.
-update warning message and release note.

If this option is not set explicitly, there is no such warning.

Change-Id: If19791458b0b5e89d7919a7c8a3c36edd613f580
This commit is contained in:
Iury Gregory Melo Ferreira 2016-05-18 23:55:15 -03:00
parent 62e9a74f09
commit 8b6d2a70a7
2 changed files with 5 additions and 4 deletions

View File

@ -157,7 +157,8 @@
#
# DEPREACTED PARAMETERS
# [*verbose*]
# Defaults to false
# Deprecated.
# Defaults to undef
# [*tenant_name*]
# Defaults to undef
# [*alt_tenant_name*]
@ -270,7 +271,7 @@ class tempest(
$img_dir = '/var/lib/tempest',
$img_file = 'cirros-0.3.4-x86_64-disk.img',
# DEPRECATED PARAMETERS
$verbose = false,
$verbose = undef,
$tenant_name = undef,
$alt_tenant_name = undef,
$admin_tenant_name = undef,
@ -278,7 +279,7 @@ class tempest(
) {
if $verbose {
warning('verbose is deprecated and does nothing. Will be removed in a future release.')
warning('verbose is deprecated, has no effect and will be removed after Newton cycle.')
}
if $tenant_name {

View File

@ -1,4 +1,4 @@
---
deprecations:
- verbose parameter is deprecated and does nothing. It will be removed
in a future release.
after Newton cycle.