Set Coordination url for central agent
authorPradeep Kilambi <pkilambi@redhat.com>
Wed, 3 Aug 2016 14:58:00 +0000 (10:58 -0400)
committerPradeep Kilambi <pkilambi@redhat.com>
Thu, 4 Aug 2016 15:51:39 +0000 (11:51 -0400)
Use the redis_vip value from hiera.

Change-Id: I3b354012c8c054633497a6d80ff325f55e7b7142

puppet/services/ceilometer-agent-central.yaml

index 80f656d..a51ec2d 100644 (file)
@@ -13,10 +13,6 @@ parameters:
     description: The password for the redis service account.
     type: string
     hidden: true
-  RedisVirtualIPUri:
-    type: string
-    default: ''
-
 
 resources:
   CeilometerServiceBase:
@@ -38,7 +34,7 @@ outputs:
                 - - 'redis://:'
                   - {get_param: RedisPassword}
                   - '@'
-                  - {get_param: RedisVirtualIPUri}
+                  - "%{hiera('redis_vip')}"
                   - ':6379/'
       step_config: |
         include ::tripleo::profile::base::ceilometer::agent::central