Set puppet-redis managed_by_cluster_manager to true

Via https://github.com/arioch/puppet-redis/pull/192 puppet-redis grew
ulimit support also for pacemaker managed redis instances. To be able to
use that we need to set redis::managed_by_cluster_manager to true.

We also allow redis::ulimit to be configurable and we set a default of
10420 which was the default value before the above change.

Change-Id: I06129870665d7d3bfa09057fd9f0a33a99f98397
Depends-On: I4ffccfe3e3ba862d445476c14c8f2cb267fa108d
Closes-Bug: #1688464
This commit is contained in:
Michele Baldessari 2017-05-05 12:37:01 +02:00
parent 5fc8d234dd
commit dde4f6d1cf
2 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,10 @@ parameters:
description: The password for Redis
type: string
hidden: true
RedisFDLimit:
description: Configure Redis FD limit
type: string
default: 10240
ServiceNetMap:
default: {}
description: Mapping of service_name -> network name. Typically set
@ -43,3 +47,4 @@ outputs:
redis::sentinel::redis_host: "%{hiera('bootstrap_nodeid_ip')}"
redis::sentinel::notification_script: '/usr/local/bin/redis-notifications.sh'
redis::sentinel::sentinel_bind: {get_param: [ServiceNetMap, RedisNetwork]}
redis::ulimit: {get_param: RedisFDLimit}

View File

@ -37,5 +37,6 @@ outputs:
- get_attr: [RedisBase, role_data, config_settings]
- redis::service_manage: false
redis::notify_service: false
redis::managed_by_cluster_manager: true
step_config: |
include ::tripleo::profile::pacemaker::database::redis