1719424b23
This was still relying on globals. Allow you to pass params into mysql::client properly to set the package.
20 lines
475 B
Puppet
20 lines
475 B
Puppet
#
|
|
class mysql::client (
|
|
$bindings_enable = $mysql::params::bindings_enable,
|
|
$package_ensure = $mysql::params::client_package_ensure,
|
|
$package_name = $mysql::params::client_package_name,
|
|
) inherits mysql::params {
|
|
|
|
include '::mysql::client::install'
|
|
|
|
if $bindings_enable {
|
|
class { 'mysql::bindings':
|
|
java_enable => true,
|
|
perl_enable => true,
|
|
php_enable => true,
|
|
python_enable => true,
|
|
ruby_enable => true,
|
|
}
|
|
}
|
|
|
|
}
|