Browse Source

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
Chandan Kumar 4 months ago
parent
commit
a03b8ab9c1
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      packstack/puppet/modules/packstack/manifests/aodh/rabbitmq.pp

+ 4
- 1
packstack/puppet/modules/packstack/manifests/aodh/rabbitmq.pp View File

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

Loading…
Cancel
Save