summaryrefslogtreecommitdiffstats
path: root/testsuites/rubbos/puppet_manifests/modules/rubbos_mysql/manifests/rubbos_mysql_off.pp
diff options
context:
space:
mode:
authorwangyaoguang <sunshine.wang@huawei.com>2016-04-13 15:57:00 +0800
committerwangyaoguang <sunshine.wang@huawei.com>2016-04-13 15:59:19 +0800
commitdd7eae17aca39d609e28afd5fadf110c5e1e769e (patch)
tree6a7547da23bebe9db2bc68d5dee32b2d3030b842 /testsuites/rubbos/puppet_manifests/modules/rubbos_mysql/manifests/rubbos_mysql_off.pp
parentbdd42e03b0e8ce99888d8ead6a622113af6d2ab5 (diff)
add a script for loading data into mysql database
JIRA: BOTTLENECK-54 Change-Id: Iad7c56b67618fbf2a21b3872735e692c08e53175 Signed-off-by: wangyaoguang <sunshine.wang@huawei.com>
Diffstat (limited to 'testsuites/rubbos/puppet_manifests/modules/rubbos_mysql/manifests/rubbos_mysql_off.pp')
-rw-r--r--testsuites/rubbos/puppet_manifests/modules/rubbos_mysql/manifests/rubbos_mysql_off.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuites/rubbos/puppet_manifests/modules/rubbos_mysql/manifests/rubbos_mysql_off.pp b/testsuites/rubbos/puppet_manifests/modules/rubbos_mysql/manifests/rubbos_mysql_off.pp
index 8401470b..ec9a8717 100644
--- a/testsuites/rubbos/puppet_manifests/modules/rubbos_mysql/manifests/rubbos_mysql_off.pp
+++ b/testsuites/rubbos/puppet_manifests/modules/rubbos_mysql/manifests/rubbos_mysql_off.pp
@@ -43,6 +43,14 @@ class rubbos_mysql::rubbos_mysql_off {
require => Service['stop mysql'],
}
+ file {'${rubbos_home}/prepare_rubbos_mysql_db.sh':
+ ensure => absent,
+ path => "${rubbos_home}/prepare_rubbos_mysql_db.sh",
+ backup => false,
+ show_diff => false,
+ require => Service['stop mysql'],
+ }
+
# Remove user and group
user {'${mysql_user_name}':
name => "${mysql_user_name}",