1 heat_template_version: pike
4 OpenStack Redis service configured with Puppet
8 description: The password for Redis
12 description: Configure Redis FD limit
17 description: Mapping of service_name -> network name. Typically set
18 via parameter_defaults in the resource registry. This
19 mapping overrides those in ServiceNetMapDefaults.
26 description: Role name on which the service is applied
30 description: Parameters specific to the role
34 description: Mapping of service endpoint -> protocol. Typically set
35 via parameter_defaults in the resource registry.
40 description: Role data for the redis role.
42 service_name: redis_base
44 redis::requirepass: {get_param: RedisPassword}
45 redis::masterauth: {get_param: RedisPassword}
46 redis::sentinel_auth_pass: {get_param: RedisPassword}
47 # NOTE: bind IP is found in Heat replacing the network name with the local node IP
48 # for the given network; replacement examples (eg. for internal_api):
50 # internal_api_uri -> [IP]
51 # internal_api_subnet - > IP/CIDR
52 redis::bind: {get_param: [ServiceNetMap, RedisNetwork]}
54 redis::sentinel::master_name: "%{hiera('bootstrap_nodeid')}"
55 redis::sentinel::redis_host: "%{hiera('bootstrap_nodeid_ip')}"
56 redis::sentinel::notification_script: '/usr/local/bin/redis-notifications.sh'
57 redis::sentinel::sentinel_bind: {get_param: [ServiceNetMap, RedisNetwork]}
58 redis::ulimit: {get_param: RedisFDLimit}