Fix dependencies for HAProxy when certmonger is used
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Thu, 15 Sep 2016 07:30:21 +0000 (10:30 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Thu, 15 Sep 2016 07:43:27 +0000 (10:43 +0300)
commit192fd80e942be67ccbb1ddea6666ba341ae33bf8
treee6cfe26a32b0275a38559fd86b101983d77baf8b
parent48f965b5edd35f0dae32acf88afa78eef26f6438
Fix dependencies for HAProxy when certmonger is used

Installing the undercloud with generate_service_certificate=True
fails if HAProxy is not pre-installed. This is due to missing
dependency setting on our puppet manifests. We need to specify that
the PEM file needs to be written only if the haproxy user and group
exist (which comes from the package) and that the haproxy frontend
configuration needs to be notified if there are changes in the
certificates.

Change-Id: Iba3030e4489eb31f9c07ab49913687d8b595a91b
Closes-Bug: #1623805
manifests/certmonger/haproxy.pp
manifests/profile/base/haproxy.pp