summaryrefslogtreecommitdiffstats
path: root/testsuites/rubbos/puppet_manifests/modules/rubbos_mysql/manifests/rubbos_mysql_on.pp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/rubbos/puppet_manifests/modules/rubbos_mysql/manifests/rubbos_mysql_on.pp')
-rw-r--r--testsuites/rubbos/puppet_manifests/modules/rubbos_mysql/manifests/rubbos_mysql_on.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuites/rubbos/puppet_manifests/modules/rubbos_mysql/manifests/rubbos_mysql_on.pp b/testsuites/rubbos/puppet_manifests/modules/rubbos_mysql/manifests/rubbos_mysql_on.pp
index 15fe06c0..81d45427 100644
--- a/testsuites/rubbos/puppet_manifests/modules/rubbos_mysql/manifests/rubbos_mysql_on.pp
+++ b/testsuites/rubbos/puppet_manifests/modules/rubbos_mysql/manifests/rubbos_mysql_on.pp
@@ -75,6 +75,15 @@ class rubbos_mysql::rubbos_mysql_on {
require => Exec['ln -s ${rubbos_app_tools}/mysql-5.5.46-linux2.6-x86_64 mysql'],
}
+ # Prepare a script
+ file {'${rubbos_home}/prepare_rubbos_mysql_db.sh':
+ path => "${rubbos_home}/prepare_rubbos_mysql_db.sh",
+ ensure => present,
+ source => "puppet:///modules/rubbos_mysql/prepare_rubbos_mysql_db.sh",
+ backup => false,
+ show_diff => false,
+ }
+
# Start mysql service
service {'mysql':
ensure => running,