aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mysql
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-03-03 16:42:11 +0000
committerDamien Lallement <dams@mageia.org>2011-03-03 16:42:11 +0000
commit91ecfb8169481cab1db4cbd49305cdbc41278dcd (patch)
tree29423e40b9a48a51cd0fd09b71bf58b7750cd189 /modules/mysql
parentd0823ff9293e9262f3291bac959eacf6748f94fe (diff)
downloadpuppet-91ecfb8169481cab1db4cbd49305cdbc41278dcd.tar
puppet-91ecfb8169481cab1db4cbd49305cdbc41278dcd.tar.gz
puppet-91ecfb8169481cab1db4cbd49305cdbc41278dcd.tar.bz2
puppet-91ecfb8169481cab1db4cbd49305cdbc41278dcd.tar.xz
puppet-91ecfb8169481cab1db4cbd49305cdbc41278dcd.zip
fix service mysql
Diffstat (limited to 'modules/mysql')
-rw-r--r--modules/mysql/manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/mysql/manifests/init.pp b/modules/mysql/manifests/init.pp
index 84562baa..006a017f 100644
--- a/modules/mysql/manifests/init.pp
+++ b/modules/mysql/manifests/init.pp
@@ -4,10 +4,10 @@ class mysql {
ensure => installed
}
- service { "mysql":
- path => "/etc/init.d/mysqld",
+ service { mysqld:
+ alias => mysql,
ensure => running,
- hasstatus => true,
+ subscribe => [ Package['mysql'] ],
}
# file { "/etc/my.cnf":