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,
|
|
|
|
$package_ensure = $mysql::params::client_package_ensure,
|
|
|
|
$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
|
|
|
anchor { 'mysql::client::start': }
|
|
|
|
anchor { 'mysql::client::end': }
|
|
|
|
|
2013-10-31 05:16:32 +01:00
|
|
|
# Anchor pattern workaround to avoid resources of mysql::client::install
|
|
|
|
# to "float off" outside mysql::client
|
2013-10-29 11:24:04 +01:00
|
|
|
Anchor['mysql::client::start'] ->
|
2013-10-31 05:16:32 +01:00
|
|
|
Class['mysql::client'] ->
|
2013-10-29 11:24:04 +01:00
|
|
|
Class['mysql::client::install'] ->
|
|
|
|
Anchor['mysql::client::end']
|
|
|
|
|
2013-09-09 17:34:39 +02:00
|
|
|
}
|