puppet-tripleo/manifests/certmonger
Damien Ciabrini 32cce5f150 Fix Redis TLS setup, including replication traffic
This patch reverts the revert of Redis TLS [1], and fixes the
encryption of Redis replication traffic for HA deployments.

In order to encrypt replication traffic, Redis is configured to
drive outgoing replication traffic to a stunnel endpoint on
<localhost:port_xxx>. Stunnel then manages the encryption up to
the peer Redis master.

Likewise, slave Redis nodes advertise themselves as coming from
<localhost:port_yyy> in order to let the Master initiate connection
the Slave over its own stunnel endpoint, should it needs to.

Each redis node is assigned a unique replication port, and has
dedicated stunnels to each one of its peer. This port mapping
info is used by the redis resource agent to manage A/P failover.

The regular Redis port is unchanged, so Redis clients (OpenStack
services, HAproxy, CLI, firewall) are not impacted by this change.
Only SELinux needs to be adapted.

[1] I37501c4c983c87e3a38841272eb176ebbe626a65

Change-Id: I6cc818973fab25b4cd6f7a0d040aaa05a35c5bb1
Related-bug: #1737707
2018-02-09 09:18:19 +00:00
..
ca Add /bin to PATH for CRL cronjob 2017-08-24 09:25:33 +03:00
apache_dirs.pp Ensure directory exists for certificates for httpd 2017-04-11 11:45:43 +00:00
etcd.pp Enable internal network TLS for etcd 2017-04-12 08:28:02 +00:00
haproxy.pp Rely on container setup for haproxy's certificate user and group 2017-11-02 08:31:04 +02:00
haproxy_dirs.pp Ensure directory exists for certificates for haproxy 2017-08-02 11:13:00 +03:00
httpd.pp Certmonger: Make postsave command configurable 2017-08-18 18:59:35 +00:00
libvirt.pp TLS-everywhere/libvirt: Make postsave command configurable 2017-08-24 12:30:08 +00:00
libvirt_dirs.pp TLS-everywhere: Add resources for libvirt's cert for live migration 2017-04-07 11:31:40 +03:00
mongodb.pp Certmonger: Make postsave command configurable 2017-08-18 18:59:35 +00:00
mysql.pp Certmonger: Make postsave command configurable 2017-08-18 18:59:35 +00:00
neutron.pp Adds missing Neutron TLS certificate/key generation 2018-02-07 15:00:30 -05:00
opendaylight.pp Adds TLS support for OpenDaylight 2018-01-19 17:11:07 -05:00
openvswitch.pp Adds TLS support for OpenDaylight 2018-01-19 17:11:07 -05:00
rabbitmq.pp Certmonger: Make postsave command configurable 2017-08-18 18:59:35 +00:00
redis.pp Fix Redis TLS setup, including replication traffic 2018-02-09 09:18:19 +00:00