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: Dictionary packing service data
21 description: Mapping of service_name -> network name. Typically set
22 via parameter_defaults in the resource registry. This
23 mapping overrides those in ServiceNetMapDefaults.
30 description: Role name on which the service is applied
34 description: Parameters specific to the role
38 description: Mapping of service endpoint -> protocol. Typically set
39 via parameter_defaults in the resource registry.
44 description: Role data for the redis role.
46 service_name: redis_base
48 redis::requirepass: {get_param: RedisPassword}
49 redis::masterauth: {get_param: RedisPassword}
50 redis::sentinel_auth_pass: {get_param: RedisPassword}
51 # NOTE: bind IP is found in Heat replacing the network name with the local node IP
52 # for the given network; replacement examples (eg. for internal_api):
54 # internal_api_uri -> [IP]
55 # internal_api_subnet - > IP/CIDR
56 redis::bind: {get_param: [ServiceNetMap, RedisNetwork]}
58 redis::sentinel::master_name: "%{hiera('bootstrap_nodeid')}"
59 redis::sentinel::redis_host: "%{hiera('bootstrap_nodeid_ip')}"
60 redis::sentinel::notification_script: '/usr/local/bin/redis-notifications.sh'
61 redis::sentinel::sentinel_bind: {get_param: [ServiceNetMap, RedisNetwork]}
62 redis::ulimit: {get_param: RedisFDLimit}