diff options
author | Damien Ciabrini <dciabrin@redhat.com> | 2017-08-09 07:25:42 +0000 |
---|---|---|
committer | Juan Antonio Osorio Robles <jaosorior@redhat.com> | 2017-08-14 11:39:02 +0000 |
commit | 630ce41fe329c351c5aa80f579c9985c5e5508fb (patch) | |
tree | c44d0344ebec21a500119cb1252a839798a538c8 | |
parent | 4dabd2c487d998caf43fcee9f906ba27985242f6 (diff) |
Fix metadata_settings in containerized mongodb
The containerized version of the mongodb service omits the
metadata_settings definition [1], which confuses certmonger when
internal TLS is enabled and make the generation of certificates fail.
Use the right setting from the non-containerized profile.
[1] https://review.openstack.org/#/c/461780/
Change-Id: I50a9a3a822ba5ef5d2657a12c359b51b7a3a42f2
Closes-Bug: #1709553
-rw-r--r-- | docker/services/database/mongodb.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/services/database/mongodb.yaml b/docker/services/database/mongodb.yaml index 5ba79b31..86bb6d54 100644 --- a/docker/services/database/mongodb.yaml +++ b/docker/services/database/mongodb.yaml @@ -116,6 +116,8 @@ outputs: with_items: - /var/log/containers/mongodb - /var/lib/mongodb + metadata_settings: + get_attr: [MongodbPuppetBase, role_data, metadata_settings] upgrade_tasks: - name: Stop and disable mongodb service tags: step2 |