From fb1e37cf048484aee646f1d8f7e2022bd6e82688 Mon Sep 17 00:00:00 2001 From: Wolf Noble Date: Sat, 13 Jul 2013 19:32:50 -0500 Subject: [PATCH] package is specifically named 'mysql_client' not in relation to the client package name parameter. --- manifests/db.pp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/manifests/db.pp b/manifests/db.pp index d3b9234..cb6ae7e 100644 --- a/manifests/db.pp +++ b/manifests/db.pp @@ -43,10 +43,6 @@ define mysql::db ( $enforce_sql = false, $ensure = 'present' ) { - #prereqs - include mysql - - $client_package_name = $mysql::client_package_name #input validation validate_re($ensure, '^(present|absent)$', "${ensure} is not supported for ensure. Allowed values are 'present' and 'absent'.") @@ -55,7 +51,7 @@ define mysql::db ( ensure => $ensure, charset => $charset, provider => 'mysql', - require => [Class['mysql::server'],Package[$client_package_name]], + require => [Class['mysql::server'],Package['mysql_client']], before => Database_user["${user}@${host}"], }