aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/database
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-12-01 16:47:37 +0000
committerGerrit Code Review <review@openstack.org>2016-12-01 16:47:37 +0000
commit1de7c229eae2c0427da9bf58f5ac0d38c23addcc (patch)
treeadfc8304c80916fe6bc13dfb532a438e6aefa986 /puppet/services/database
parentda9a90e8b8d76e09c44cc800dd243e3c2c5ef136 (diff)
parentdbece39f549395c85701566edbff9fc19977665d (diff)
Merge "Initial support for composable upgrades with Heat+Ansible"
Diffstat (limited to 'puppet/services/database')
-rw-r--r--puppet/services/database/mysql.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet/services/database/mysql.yaml b/puppet/services/database/mysql.yaml
index bed8f7d3..cacf6db0 100644
--- a/puppet/services/database/mysql.yaml
+++ b/puppet/services/database/mysql.yaml
@@ -92,3 +92,11 @@ outputs:
$NETWORK: {get_param: [ServiceNetMap, MysqlNetwork]}
step_config: |
include ::tripleo::profile::base::database::mysql
+ upgrade_tasks:
+ - name: Stop service
+ tags: step2
+ service: name=mariadb state=stopped
+ - name: Start service
+ tags: step4
+ service: name=mariadb state=started
+