Fix typo in haproxy bundle
authorMichele Baldessari <michele@acksyn.org>
Thu, 13 Jul 2017 12:18:44 +0000 (14:18 +0200)
committerMichele Baldessari <michele@acksyn.org>
Thu, 13 Jul 2017 12:18:44 +0000 (14:18 +0200)
Change I6f4d3a5abae8f1781cfe6f69ff960aad500061e3 slipped in a typo
and it removed the '$' character from a puppet manifest. Which causes
a deployment to fail with:
INFO: running container haproxy-bundle-docker-0 for the first time
ERROR: /usr/bin/docker-current: Error response from daemon: Invalid bind mount spec "deployed_ssl_cert_path:deployed_ssl_cert_path:ro": Invalid volume destination path: 'deployed_ssl_cert_path' mount path must be absolute.. See '/usr/bin/docker-current run --help'.
ERROR: docker failed to launch container

Change-Id: Ic602fd443d38482bf1f924531561b2174dc38293

manifests/profile/pacemaker/haproxy_bundle.pp

index afe6f77..b785ea7 100644 (file)
@@ -144,8 +144,8 @@ class tripleo::profile::pacemaker::haproxy_bundle (
             'options'    => 'rw',
           },
           'haproxy-cert'                    => {
-            'source-dir' => deployed_ssl_cert_path,
-            'target-dir' => deployed_ssl_cert_path,
+            'source-dir' => $deployed_ssl_cert_path,
+            'target-dir' => $deployed_ssl_cert_path,
             'options'    => 'ro',
           },
         },