Remove verbose

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

Change-Id: Iac5f2a120c80ddd1bad40981ee50f550fe51195b
This commit is contained in:
Iury Gregory Melo Ferreira
2016-09-27 20:37:24 -03:00
parent c1c3342b3c
commit 6c65ce4c51
3 changed files with 4 additions and 21 deletions

View File

@@ -275,10 +275,6 @@
#
# DEPRECATED PARAMETERS
#
# [*verbose*]
# (Optional) DEPRECATED. Should the daemons log verbose messages
# Defaults to undef.
#
# [*enable_v1_api*]
# (Optional) DEPRECATED. Whether to enable the v1 API (true/false).
# Defaults to undef.
@@ -368,7 +364,6 @@ class cinder (
$host = $::os_service_default,
$purge_config = false,
# DEPRECATED PARAMETERS
$verbose = undef,
$enable_v1_api = undef,
$enable_v2_api = undef,
$use_ssl = undef,
@@ -381,10 +376,6 @@ class cinder (
include ::cinder::db
include ::cinder::logging
if $verbose {
warning('verbose is deprecated, has no effect and will be removed after Newton cycle.')
}
if $enable_v1_api {
warning('enable_v1_api is deprecated, has no effect and will be removed in a future release')
}

View File

@@ -85,12 +85,6 @@
# Defaults to $::os_service_default
# Example: 'Y-%m-%d %H:%M:%S'
#
# DEPRECATED PARAMETERS
#
# [*verbose*]
# (Optional) DEPRECATED. Should the daemons log verbose messages
# Defaults to undef
#
class cinder::logging(
$use_syslog = $::os_service_default,
$use_stderr = $::os_service_default,
@@ -108,16 +102,10 @@ class cinder::logging(
$instance_format = $::os_service_default,
$instance_uuid_format = $::os_service_default,
$log_date_format = $::os_service_default,
# DEPRECATED PARAMETERS
$verbose = undef,
) {
include ::cinder::deps
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 cinder::<myparam> if cinder::logging::<myparam> isn't specified.
$use_syslog_real = pick($::cinder::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.