aboutsummaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorPradeep Kilambi <pkilambi@redhat.com>2017-07-26 11:18:40 -0400
committerPradeep Kilambi <pkilambi@redhat.com>2017-08-01 21:26:24 +0000
commitf04235c3ebec463c75dfbd7f989c3e1b0e075375 (patch)
tree995ad637ef2ae7e21e38f8e120e09a796679377d /puppet
parent56d4563935ce51c54e8a4c38463e6c86dabee889 (diff)
Set redis password hiera value in compute agent
Without this config defaults to undef in containers Change-Id: Id47f365364e7b0d399de92995871b136550cd625
Diffstat (limited to 'puppet')
-rw-r--r--puppet/services/ceilometer-agent-compute.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/services/ceilometer-agent-compute.yaml b/puppet/services/ceilometer-agent-compute.yaml
index 3cf51519..27bc50f3 100644
--- a/puppet/services/ceilometer-agent-compute.yaml
+++ b/puppet/services/ceilometer-agent-compute.yaml
@@ -39,6 +39,10 @@ parameters:
type: string
constraints:
- allowed_values: ['naive', 'libvirt_metadata', 'workload_partitioning']
+ RedisPassword:
+ description: The password for the redis service account.
+ type: string
+ hidden: true
resources:
CeilometerServiceBase:
@@ -61,6 +65,7 @@ outputs:
map_merge:
- get_attr: [CeilometerServiceBase, role_data, config_settings]
- ceilometer::agent::compute::instance_discovery_method: {get_param: InstanceDiscoveryMethod}
+ - ceilometer_redis_password: {get_param: RedisPassword}
compute_namespace: true
service_config_settings:
get_attr: [CeilometerServiceBase, role_data, service_config_settings]