diff --git a/manifests/server/service.pp b/manifests/server/service.pp index 4d33def..92686d9 100644 --- a/manifests/server/service.pp +++ b/manifests/server/service.pp @@ -12,7 +12,7 @@ class mysql::server::service { $service_ensure = undef } - if $mysql::server::override_options['mysqld'] and $mysql::server::override_options['mysqld']['user'] { + if $mysql::server::override_options and $mysql::server::override_options['mysqld'] and $mysql::server::override_options['mysqld']['user'] { $mysqluser = $mysql::server::override_options['mysqld']['user'] } else { $mysqluser = $options['mysqld']['user']