diff options
-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": |