Deploy ceilometer_auth_enabled to node containing keystone
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Mon, 24 Apr 2017 15:53:05 +0000 (18:53 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Tue, 25 Apr 2017 11:31:10 +0000 (11:31 +0000)
This hiera key is used by keystone to create the ceilometer service
user. It works in CI cause keystone and the ceilometer services are in
the same node. However, this fails if keystone is deployed on a separate
note.

We should only deploy it in the nodes containing the keystone service
since it's only relevant to create the service user.

Change-Id: Ic0f02fe9a78a1fe14ac2b87197692fbd80c003b8
Closes-Bug: #1685828

puppet/services/ceilometer-base.yaml

index e161372..d524e61 100644 (file)
@@ -88,7 +88,6 @@ outputs:
     value:
       service_name: ceilometer_base
       config_settings:
-        ceilometer_auth_enabled: true
         ceilometer::debug: {get_param: Debug}
         ceilometer::db::database_connection:
           list_join:
@@ -133,6 +132,7 @@ outputs:
         ceilometer::telemetry_secret: {get_param: CeilometerMeteringSecret}
       service_config_settings:
         keystone:
+          ceilometer_auth_enabled: true
           ceilometer::keystone::auth::public_url: {get_param: [EndpointMap, CeilometerPublic, uri]}
           ceilometer::keystone::auth::internal_url: {get_param: [EndpointMap, CeilometerInternal, uri]}
           ceilometer::keystone::auth::admin_url: {get_param: [EndpointMap, CeilometerAdmin, uri]}