Enable TLS in the internal networkf or Mysql
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 28 Sep 2016 09:51:13 +0000 (09:51 +0000)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Fri, 25 Nov 2016 06:45:36 +0000 (08:45 +0200)
commit22003fbcba00c31a6044fe4599b38060dbfe1c35
tree5155fc9c81954dbfe652a3737345ba7543337a35
parent56c98446e7def74d898a2e38427ab93e625ab89b
Enable TLS in the internal networkf or Mysql

This adds the necessary hieradata for enabling TLS for MySQL (which
happens to run on the internal network). It also adds a template so
this can be done via certmonger. As with other services, this will
fill the necessary specs for the certificate to be requested in a
hash that will be consumed in puppet-tripleo.

Note that this only enables that we can now use TLS, however, we still
need to configure the services (or limit the users the services use)
to only connect via SSL. But that will be done in another patch, as
there is some things that need to land before we can do this (changes
in puppetlabs-mysql and puppet-openstacklib).

Change-Id: I71e1d4e54f2be845f131bad7b8db83498e21c118
Depends-On: I7275e5afb3a6550cf2abbb9a8007dedb62ada4b4
environments/enable-internal-tls.yaml
overcloud-resource-registry-puppet.j2.yaml
puppet/services/database/mysql-internal-tls-certmonger.yaml [new file with mode: 0644]
puppet/services/database/mysql.yaml