Include base apache module in tls_proxy resource
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Thu, 27 Apr 2017 06:56:13 +0000 (09:56 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Thu, 27 Apr 2017 06:56:13 +0000 (09:56 +0300)
Other services include it by using the vhost resource from openstacklib.
If we include a service (such as swift-proxy) that uses the tls_proxy
resource, and we do so in a separate node or in its own container, it
will fail since the base apache module hadn't been included.

Change-Id: I0167e08b0b652618d8a1af792376bcf02c8fcd82

manifests/tls_proxy.pp

index 36d6b6d..607e20f 100644 (file)
@@ -40,6 +40,7 @@ define tripleo::tls_proxy(
   $tls_cert,
   $tls_key,
 ) {
+  include ::apache
   ::apache::vhost { "${title}-proxy":
     ensure          => 'present',
     docroot         => undef,  # This is required by the manifest