2013-09-09 17:34:39 +02:00
|
|
|
#
|
|
|
|
class mysql::client (
|
2013-09-26 15:16:03 +02:00
|
|
|
$bindings_enable = $mysql::params::bindings_enable,
|
2014-10-29 20:59:59 +01:00
|
|
|
$install_options = undef,
|
2013-09-26 15:16:03 +02:00
|
|
|
$package_ensure = $mysql::params::client_package_ensure,
|
2014-12-07 09:23:18 +01:00
|
|
|
$package_manage = $mysql::params::client_package_manage,
|
2013-09-26 15:16:03 +02:00
|
|
|
$package_name = $mysql::params::client_package_name,
|
2013-09-25 00:04:29 +02:00
|
|
|
) inherits mysql::params {
|
2013-09-09 17:34:39 +02:00
|
|
|
|
|
|
|
include '::mysql::client::install'
|
|
|
|
|
|
|
|
if $bindings_enable {
|
2013-09-13 19:12:33 +02:00
|
|
|
class { 'mysql::bindings':
|
|
|
|
java_enable => true,
|
|
|
|
perl_enable => true,
|
|
|
|
php_enable => true,
|
|
|
|
python_enable => true,
|
|
|
|
ruby_enable => true,
|
|
|
|
}
|
2013-09-09 17:34:39 +02:00
|
|
|
}
|
|
|
|
|
2013-10-29 11:24:04 +01:00
|
|
|
|
2013-11-05 16:41:41 +01:00
|
|
|
# Anchor pattern workaround to avoid resources of mysql::client::install to
|
|
|
|
# "float off" outside mysql::client
|
|
|
|
anchor { 'mysql::client::start': } ->
|
|
|
|
Class['mysql::client::install'] ->
|
|
|
|
anchor { 'mysql::client::end': }
|
2013-10-29 11:24:04 +01:00
|
|
|
|
2013-09-09 17:34:39 +02:00
|
|
|
}
|