1 heat_template_version: ocata
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: Mapping of service endpoint -> protocol. Typically set
27 via parameter_defaults in the resource registry.
32 description: Role data for the redis role.
34 service_name: redis_base
36 redis::requirepass: {get_param: RedisPassword}
37 redis::masterauth: {get_param: RedisPassword}
38 redis::sentinel_auth_pass: {get_param: RedisPassword}
39 # NOTE: bind IP is found in Heat replacing the network name with the local node IP
40 # for the given network; replacement examples (eg. for internal_api):
42 # internal_api_uri -> [IP]
43 # internal_api_subnet - > IP/CIDR
44 redis::bind: {get_param: [ServiceNetMap, RedisNetwork]}
46 redis::sentinel::master_name: "%{hiera('bootstrap_nodeid')}"
47 redis::sentinel::redis_host: "%{hiera('bootstrap_nodeid_ip')}"
48 redis::sentinel::notification_script: '/usr/local/bin/redis-notifications.sh'
49 redis::sentinel::sentinel_bind: {get_param: [ServiceNetMap, RedisNetwork]}
50 redis::ulimit: {get_param: RedisFDLimit}