diff options
author | Martin André <m.andre@redhat.com> | 2017-04-27 11:38:24 +0200 |
---|---|---|
committer | Martin André <m.andre@redhat.com> | 2017-04-27 16:20:59 +0200 |
commit | f11c2232cc483dc01b910efa6e546095e9f866f8 (patch) | |
tree | 9c75af4aff88cd9857e87a4a58e17493cd708fb5 /puppet/config.role.j2.yaml | |
parent | 933dd62de3867cafe166ed5598e112a9093d1399 (diff) |
Fix redis container
The puppet-redis module makes use of the exec puppet tag to copy the
/etc/redis.conf.puppet file to /etc/redis.conf. We need to explicitly
enable it otherwise our redis container will pick up the default redis
configuration and not the one that was generated with puppet.
Also creates the /var/run/redis directory on the host since we bind
mount /run, and ensure the container sets the correct ownership on the
directory.
Finally, configure redis to not daemonize otherwise the container ends
up in a restart loop.
Change-Id: Ia1dce2120ca7479eef8bc77dedf9431adbe210cc
Closes-Bug: #1686707
Diffstat (limited to 'puppet/config.role.j2.yaml')
0 files changed, 0 insertions, 0 deletions