1 heat_template_version: 2016-04-08
4 OpenStack Redis service configured with Puppet
8 description: The password for Redis
13 description: Mapping of service_name -> network name. Typically set
14 via parameter_defaults in the resource registry. This
15 mapping overrides those in ServiceNetMapDefaults.
22 description: Mapping of service endpoint -> protocol. Typically set
23 via parameter_defaults in the resource registry.
28 description: Role data for the redis role.
30 service_name: redis_base
32 redis::requirepass: {get_param: RedisPassword}
33 redis::masterauth: {get_param: RedisPassword}
34 redis::sentinel_auth_pass: {get_param: RedisPassword}
35 # NOTE: bind IP is found in Heat replacing the network name with the local node IP
36 # for the given network; replacement examples (eg. for internal_api):
38 # internal_api_uri -> [IP]
39 # internal_api_subnet - > IP/CIDR
40 redis::bind: {get_param: [ServiceNetMap, RedisNetwork]}
42 redis::sentinel::master_name: '"%{hiera(\"bootstrap_nodeid\")}"'
43 redis::sentinel::redis_host: '"%{hiera(\"bootstrap_nodeid_ip\")}"'
44 redis::sentinel::notification_script: '/usr/local/bin/redis-notifications.sh'