diff options
author | Damien Lallement <dams@mageia.org> | 2011-03-03 16:42:11 +0000 |
---|---|---|
committer | Damien Lallement <dams@mageia.org> | 2011-03-03 16:42:11 +0000 |
commit | 91ecfb8169481cab1db4cbd49305cdbc41278dcd (patch) | |
tree | 29423e40b9a48a51cd0fd09b71bf58b7750cd189 /modules/mysql/manifests/init.pp | |
parent | d0823ff9293e9262f3291bac959eacf6748f94fe (diff) | |
download | puppet-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/manifests/init.pp')
-rw-r--r-- | modules/mysql/manifests/init.pp | 6 |
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": |