Move debug param to aodh::logging class

https://review.openstack.org/#/c/620415/ moves the debug parameters
in aodh::logging class.
This is so that we can remove the deprecated logging options in the
init classes of aodh modules.

https://review.openstack.org/#/c/620539/ already done the same but
it was left which is leading to breaking aodh deployment giving no
debug parameters.

Change-Id: I62a438a35c3897573bf0e7ee7d0ad033e63e53b9
This commit is contained in:
Chandan Kumar 2018-12-10 17:49:53 +05:30
parent a3fe814be8
commit a03b8ab9c1
1 changed files with 4 additions and 1 deletions

View File

@ -23,8 +23,11 @@ class packstack::aodh::rabbitmq ()
File[$files_to_set_owner] ~> Service<| tag == 'aodh-service' |> File[$files_to_set_owner] ~> Service<| tag == 'aodh-service' |>
} }
class { '::aodh::logging':
debug => hiera('CONFIG_DEBUG_MODE'),
}
class { '::aodh': class { '::aodh':
debug => hiera('CONFIG_DEBUG_MODE'),
rabbit_use_ssl => hiera('CONFIG_AMQP_SSL_ENABLED'), rabbit_use_ssl => hiera('CONFIG_AMQP_SSL_ENABLED'),
default_transport_url => "rabbit://${rabbit_userid}:${rabbit_password}@${rabbit_host}:${rabbit_port}/", default_transport_url => "rabbit://${rabbit_userid}:${rabbit_password}@${rabbit_host}:${rabbit_port}/",
kombu_ssl_ca_certs => $kombu_ssl_ca_certs, kombu_ssl_ca_certs => $kombu_ssl_ca_certs,