Pass 'false' docroot to vhost for tls_proxy
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Mon, 24 Jul 2017 10:35:56 +0000 (13:35 +0300)
committerEmilien Macchi <emilien@redhat.com>
Wed, 26 Jul 2017 03:58:59 +0000 (03:58 +0000)
passing undef causes a failure since due to a recent commit [1] the
resource now does proper validation of the parameters.

[1] https://github.com/puppetlabs/puppetlabs-apache/commit/d6952b21ec66d7ce8b69dd0c2f2a0debca54e18f

Change-Id: I6dc1e5820a1f4fe449d254d301738e1073f4b82b
Closes-Bug: #1706026

manifests/tls_proxy.pp

index 607e20f..34cc731 100644 (file)
@@ -43,7 +43,7 @@ define tripleo::tls_proxy(
   include ::apache
   ::apache::vhost { "${title}-proxy":
     ensure          => 'present',
-    docroot         => undef,  # This is required by the manifest
+    docroot         => false,  # This is required by the manifest
     manage_docroot  => false,
     servername      => $servername,
     ip              => $ip,