Remove limits for redis in /etc/security/limits.d
authorMichele Baldessari <michele@acksyn.org>
Fri, 5 May 2017 10:29:39 +0000 (12:29 +0200)
committerMichele Baldessari <michele@acksyn.org>
Fri, 5 May 2017 16:14:45 +0000 (18:14 +0200)
commit926ec0151bf0bee2854cbe1d25f278ee6362eef6
tree1a3b3e0c43ef992f55281239a1339d06919fa013
parent5e45513f399f1eccd27bfaf6679db50025d1a094
Remove limits for redis in /etc/security/limits.d

Now that puppet-redis supports ulimit for cluster managed redis (via
https://github.com/arioch/puppet-redis/pull/192), we need to remove the
file snippet as otherwise we will get a duplicate resource error.

We will need to create a THT change that at the very least sets the
redis::managed_by_cluster_manager key to true so that
/etc/security/limits.d/redis.conf gets created.
We also add code to not break backwards compatibility with the old hiera
key.

Change-Id: I4ffccfe3e3ba862d445476c14c8f2cb267fa108d
Partial-Bug: #1688464
manifests/profile/pacemaker/database/redis.pp
releasenotes/notes/deprecate-redis-file-limit-4a60fa0fde4667ef.yaml [new file with mode: 0644]