aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/pacemaker/haproxy_bundle.pp
diff options
context:
space:
mode:
authorMartin André <m.andre@redhat.com>2017-06-26 15:33:09 +0200
committerTuan Luong-Anh <tuanla@vn.fujitsu.com>2017-07-12 09:56:56 +0000
commit1e90178298d77c23e654c374f17f999f4d9274e1 (patch)
tree865750bbb2b273a68ccbc61ace0d41b82b139166 /manifests/profile/pacemaker/haproxy_bundle.pp
parentd875a57472d6046fd6296758c0299495d1c10f6b (diff)
Leverage kolla config_files to copy config into containers
This solves a problem with bind-mounts when the containers are holding files descriptors open. At the same time this makes the template more robust to puppet changes since new config files will be available in the containers without needing to update the templates. Closes-Bug: #1698323 Change-Id: I857c94ba5f7f064d7c58df621ec5d477654b9166 Depends-On: I78dcec741a941dc21adba33ba33a6dc6ff1d217c
Diffstat (limited to 'manifests/profile/pacemaker/haproxy_bundle.pp')
-rw-r--r--manifests/profile/pacemaker/haproxy_bundle.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/profile/pacemaker/haproxy_bundle.pp b/manifests/profile/pacemaker/haproxy_bundle.pp
index 9c1bdf3..0f71b82 100644
--- a/manifests/profile/pacemaker/haproxy_bundle.pp
+++ b/manifests/profile/pacemaker/haproxy_bundle.pp
@@ -98,8 +98,8 @@ class tripleo::profile::pacemaker::haproxy_bundle (
'options' => 'ro',
},
'haproxy-cfg-data' => {
- 'source-dir' => '/var/lib/config-data/haproxy/etc',
- 'target-dir' => '/etc',
+ 'source-dir' => '/var/lib/config-data/puppet-generated/haproxy/',
+ 'target-dir' => '/var/lib/kolla/config_files/src',
'options' => 'ro',
},
'haproxy-hosts' => {