diff --git a/manifests/server/installdb.pp b/manifests/server/installdb.pp index 6123626..1d57dc1 100644 --- a/manifests/server/installdb.pp +++ b/manifests/server/installdb.pp @@ -19,7 +19,7 @@ class mysql::server::installdb { creates => "${datadir}/mysql", logoutput => on_failure, path => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin', - require => Package[$mysql::server::package_name], + require => Package['mysql-server'], } if $mysql::server::restart { diff --git a/manifests/server/service.pp b/manifests/server/service.pp index 418ef2a..4d33def 100644 --- a/manifests/server/service.pp +++ b/manifests/server/service.pp @@ -31,7 +31,7 @@ class mysql::server::service { name => $mysql::server::service_name, enable => $mysql::server::real_service_enabled, provider => $mysql::server::service_provider, - require => Package[$mysql::server::package_name], + require => Package['mysql-server'], } # only establish ordering between config file and service if