diff options
author | Steven Hardy <shardy@redhat.com> | 2016-12-01 10:06:34 +0000 |
---|---|---|
committer | Steven Hardy <shardy@redhat.com> | 2017-01-25 21:04:18 +0000 |
commit | 5750df8829064dcc60d8efb08fa686c17db2eefe (patch) | |
tree | 267ba7d3f81984ae9bb780a624a4f3a49d56ebd7 /puppet/services/database | |
parent | 405ccc3a95ee221d98844b41458e4331dfc97f60 (diff) |
Add telemetry service support for composable upgrades
Change-Id: I62735676b45a881a7dac24171b26d88d6eb60d4a
Partially-Implements: blueprint overcloud-upgrades-per-service
Diffstat (limited to 'puppet/services/database')
-rw-r--r-- | puppet/services/database/mongodb.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/services/database/mongodb.yaml b/puppet/services/database/mongodb.yaml index 8290cae7..63ec4446 100644 --- a/puppet/services/database/mongodb.yaml +++ b/puppet/services/database/mongodb.yaml @@ -66,3 +66,10 @@ outputs: mongodb::server::bind_ip: {get_param: [ServiceNetMap, MongodbNetwork]} step_config: | include ::tripleo::profile::base::database::mongodb + upgrade_tasks: + - name: Stop mongodb service + tags: step2 + service: name=mongod state=stopped + - name: Start mongodb service + tags: step4 + service: name=mongod state=started |