Code Review
/
apex-tripleo-heat-templates.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Add upgrade support for CephRGW service"
[apex-tripleo-heat-templates.git]
/
puppet
/
services
/
database
/
mongodb.yaml
diff --git
a/puppet/services/database/mongodb.yaml
b/puppet/services/database/mongodb.yaml
index
8290cae
..
63ec444
100644
(file)
--- 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
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