diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-07-10 17:20:09 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-07-10 17:20:09 +0000 |
commit | 322f2dbd4c1d9c8617186bcb9211d7a1fe10ba3f (patch) | |
tree | c0714854a4d02dfb8d74a2d48f5959ee89adf028 /docker/services/collectd.yaml | |
parent | 83defdbdbf12a4ba9d843cd115d1acb931d1d151 (diff) | |
parent | cf18e865d14adc319b6c2dfafd650f32dad4d853 (diff) |
Merge "Copy only generated puppet files into the container"
Diffstat (limited to 'docker/services/collectd.yaml')
-rw-r--r-- | docker/services/collectd.yaml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docker/services/collectd.yaml b/docker/services/collectd.yaml index e6741156..0593e412 100644 --- a/docker/services/collectd.yaml +++ b/docker/services/collectd.yaml @@ -79,6 +79,11 @@ outputs: kolla_config: /var/lib/kolla/config_files/collectd.json: command: /usr/sbin/collectd -f + config_files: + - source: "/var/lib/kolla/config_files/src/*" + dest: "/" + merge: true + preserve_properties: true permissions: - path: /var/log/collectd owner: collectd:collectd @@ -99,9 +104,7 @@ outputs: - - /var/run/docker.sock:/var/run/docker.sock:rw - /var/lib/kolla/config_files/collectd.json:/var/lib/kolla/config_files/config.json:ro - - /var/lib/config-data/collectd/etc/collectd.conf:/etc/collectd.conf:ro - - /var/lib/config-data/collectd/etc/collectd.d:/etc/collectd.d:ro - - /var/log/containers/collectd:/var/log/collectd:rw + - /var/lib/config-data/puppet-generated/collectd/:/var/lib/kolla/config_files/src:ro environment: - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS host_prep_tasks: |