X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=puppet%2Fservices%2Fdatabase%2Fmongodb.yaml;h=63ec44460d29f7bcd59904b0876309720e360e7a;hb=c992dcf51a3a6ab75eeb9e15c55e03f317f7633c;hp=8290cae7335bae7c8baa3222eb41181b7dc80a53;hpb=f0bed4c7e716d0427018a1246042e4cfec0c9476;p=apex-tripleo-heat-templates.git 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