Merge "Remove verbose"

This commit is contained in:
Jenkins 2016-10-24 18:47:25 +00:00 committed by Gerrit Code Review
commit dfe7564169
6 changed files with 4 additions and 52 deletions

View File

@ -138,10 +138,6 @@
# (Optional) Deprecated. Use trove::keystone::authtoken::auth_uri instead. # (Optional) Deprecated. Use trove::keystone::authtoken::auth_uri instead.
# Defaults to undef. # Defaults to undef.
# #
# [*verbose*]
# (optional) Deprecated. Rather to log the trove api service at verbose level.
# Defaults to undef
#
# [*auth_url*] # [*auth_url*]
# (optional) Deprecated. Use trove::keystone::authtoken::auth_url instead. # (optional) Deprecated. Use trove::keystone::authtoken::auth_url instead.
# Defaults to undef # Defaults to undef
@ -176,7 +172,6 @@ class trove::api(
$keystone_user = undef, $keystone_user = undef,
$identity_uri = undef, $identity_uri = undef,
$auth_uri = undef, $auth_uri = undef,
$verbose = undef,
$auth_url = undef, $auth_url = undef,
) inherits trove { ) inherits trove {
@ -206,10 +201,6 @@ class trove::api(
warning('keystone_password is deprecated, use trove::keystone::authtoken::auth_uri instead.') warning('keystone_password is deprecated, use trove::keystone::authtoken::auth_uri instead.')
} }
if $verbose {
warning('verbose is deprecated, has no effect and will be removed after Newton cycle.')
}
if $auth_url { if $auth_url {
warning('auth_url is deprecated, use trove::keystone::authtoken::auth_url instead.') warning('auth_url is deprecated, use trove::keystone::authtoken::auth_url instead.')
} }

View File

@ -58,12 +58,6 @@
# (optional) If False doesn't trace SQL requests. # (optional) If False doesn't trace SQL requests.
# Default: $::os_service_default # Default: $::os_service_default
# #
# DEPRECATED PARAMETERS
#
# [*verbose*]
# (optional) Deprecated. Rather to log the trove api service at verbose level.
# Default: undef
#
class trove::conductor( class trove::conductor(
$enabled = true, $enabled = true,
$manage_service = true, $manage_service = true,
@ -78,17 +72,11 @@ class trove::conductor(
$workers = $::os_workers, $workers = $::os_workers,
$enable_profiler = $::os_service_default, $enable_profiler = $::os_service_default,
$trace_sqlalchemy = $::os_service_default, $trace_sqlalchemy = $::os_service_default,
# Deprecated
$verbose = undef,
) inherits trove { ) inherits trove {
include ::trove::deps include ::trove::deps
include ::trove::params include ::trove::params
if $verbose {
warning('verbose is deprecated, has no effect and will be removed after Newton cycle.')
}
if $::trove::database_connection { if $::trove::database_connection {
if($::trove::database_connection =~ /mysql:\/\/\S+:\S+@\S+\/\S+/) { if($::trove::database_connection =~ /mysql:\/\/\S+:\S+@\S+\/\S+/) {
require '::mysql::bindings' require '::mysql::bindings'

View File

@ -81,11 +81,6 @@
# #
# DEPRECATED PARAMETERS # DEPRECATED PARAMETERS
# #
# [*verbose*]
# (optional) Deprecated. Rather to log the trove
# guest agent service at verbose level.
# Default: undef
#
# [*root_grant*] # [*root_grant*]
# (optional) Permissions to grant "root" user. # (optional) Permissions to grant "root" user.
# Defaults to $::os_service_default. # Defaults to $::os_service_default.
@ -122,17 +117,12 @@ class trove::guestagent(
$root_grant_option = $::os_service_default, $root_grant_option = $::os_service_default,
$default_password_length = $::os_service_default, $default_password_length = $::os_service_default,
#Deprecated #Deprecated
$verbose = undef,
$control_exchange = undef, $control_exchange = undef,
) inherits trove { ) inherits trove {
include ::trove::deps include ::trove::deps
include ::trove::params include ::trove::params
if $verbose {
warning('verbose is deprecated, has no effect and will be removed after Newton cycle.')
}
# basic service config # basic service config
trove_guestagent_config { trove_guestagent_config {
'DEFAULT/trove_auth_url': value => $auth_url; 'DEFAULT/trove_auth_url': value => $auth_url;

View File

@ -90,12 +90,6 @@
# Defaults to $::os_service_default # Defaults to $::os_service_default
# Example: 'Y-%m-%d %H:%M:%S' # Example: 'Y-%m-%d %H:%M:%S'
# #
# DEPRECATED PARAMETERS
#
# [*verbose*]
# (Optional) Deprecated. Should the daemons log verbose messages
# Defaults to undef.
#
class trove::logging( class trove::logging(
$use_syslog = $::os_service_default, $use_syslog = $::os_service_default,
$use_stderr = $::os_service_default, $use_stderr = $::os_service_default,
@ -114,8 +108,6 @@ class trove::logging(
$instance_format = $::os_service_default, $instance_format = $::os_service_default,
$instance_uuid_format = $::os_service_default, $instance_uuid_format = $::os_service_default,
$log_date_format = $::os_service_default, $log_date_format = $::os_service_default,
# Deprecated
$verbose = undef,
) { ) {
include ::trove::deps include ::trove::deps
@ -129,10 +121,6 @@ class trove::logging(
$log_file_real = pick($::trove::api::log_file, $log_file) $log_file_real = pick($::trove::api::log_file, $log_file)
$debug_real = pick($::trove::api::debug, $debug) $debug_real = pick($::trove::api::debug, $debug)
if $verbose {
warning('verbose is deprecated, has no effect and will be removed after Newton cycle.')
}
oslo::log { 'trove_config': oslo::log { 'trove_config':
debug => $debug_real, debug => $debug_real,
use_stderr => $use_stderr_real, use_stderr => $use_stderr_real,

View File

@ -86,10 +86,6 @@
# (optional) Use template to provision trove guest agent configuration file. # (optional) Use template to provision trove guest agent configuration file.
# Defaults to true. # Defaults to true.
# #
# [*verbose*]
# (optional) Deprecated. Rather to log the trove api service at verbose level.
# Default: undef
#
class trove::taskmanager( class trove::taskmanager(
$enabled = true, $enabled = true,
$manage_service = true, $manage_service = true,
@ -107,16 +103,11 @@ class trove::taskmanager(
$taskmanager_queue = 'taskmanager', $taskmanager_queue = 'taskmanager',
#DEPRECATED OPTIONS #DEPRECATED OPTIONS
$use_guestagent_template = true, $use_guestagent_template = true,
$verbose = undef,
) inherits trove { ) inherits trove {
include ::trove::deps include ::trove::deps
include ::trove::params include ::trove::params
if $verbose {
warning('verbose is deprecated, has no effect and will be removed after Newton cycle.')
}
if $::trove::database_connection { if $::trove::database_connection {
if($::trove::database_connection =~ /mysql:\/\/\S+:\S+@\S+\/\S+/) { if($::trove::database_connection =~ /mysql:\/\/\S+:\S+@\S+\/\S+/) {
require '::mysql::bindings' require '::mysql::bindings'

View File

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