2013-09-13 19:11:58 +02:00
|
|
|
# See README.md.
|
2013-07-19 21:03:42 +02:00
|
|
|
class mysql::bindings (
|
|
|
|
# Boolean to determine if we should include the classes.
|
|
|
|
$java_enable = false,
|
|
|
|
$perl_enable = false,
|
2013-09-13 19:11:58 +02:00
|
|
|
$php_enable = false,
|
2013-07-19 21:03:42 +02:00
|
|
|
$python_enable = false,
|
|
|
|
$ruby_enable = false,
|
2014-05-09 03:17:44 +02:00
|
|
|
$client_dev = false,
|
|
|
|
$daemon_dev = false,
|
2013-07-19 21:03:42 +02:00
|
|
|
# Settings for the various classes.
|
2014-05-09 03:17:44 +02:00
|
|
|
$java_package_ensure = $mysql::params::java_package_ensure,
|
|
|
|
$java_package_name = $mysql::params::java_package_name,
|
|
|
|
$java_package_provider = $mysql::params::java_package_provider,
|
|
|
|
$perl_package_ensure = $mysql::params::perl_package_ensure,
|
|
|
|
$perl_package_name = $mysql::params::perl_package_name,
|
|
|
|
$perl_package_provider = $mysql::params::perl_package_provider,
|
|
|
|
$php_package_ensure = $mysql::params::php_package_ensure,
|
|
|
|
$php_package_name = $mysql::params::php_package_name,
|
|
|
|
$php_package_provider = $mysql::params::php_package_provider,
|
|
|
|
$python_package_ensure = $mysql::params::python_package_ensure,
|
|
|
|
$python_package_name = $mysql::params::python_package_name,
|
|
|
|
$python_package_provider = $mysql::params::python_package_provider,
|
|
|
|
$ruby_package_ensure = $mysql::params::ruby_package_ensure,
|
|
|
|
$ruby_package_name = $mysql::params::ruby_package_name,
|
|
|
|
$ruby_package_provider = $mysql::params::ruby_package_provider,
|
|
|
|
$client_dev_package_ensure = $mysql::params::client_dev_package_ensure,
|
|
|
|
$client_dev_package_name = $mysql::params::client_dev_package_name,
|
|
|
|
$client_dev_package_provider = $mysql::params::client_dev_package_provider,
|
|
|
|
$daemon_dev_package_ensure = $mysql::params::daemon_dev_package_ensure,
|
|
|
|
$daemon_dev_package_name = $mysql::params::daemon_dev_package_name,
|
|
|
|
$daemon_dev_package_provider = $mysql::params::daemon_dev_package_provider
|
2013-09-25 00:04:29 +02:00
|
|
|
) inherits mysql::params {
|
2013-07-19 21:03:42 +02:00
|
|
|
|
|
|
|
if $java_enable { include '::mysql::bindings::java' }
|
|
|
|
if $perl_enable { include '::mysql::bindings::perl' }
|
2013-09-13 19:11:58 +02:00
|
|
|
if $php_enable { include '::mysql::bindings::php' }
|
2013-07-19 21:03:42 +02:00
|
|
|
if $python_enable { include '::mysql::bindings::python' }
|
|
|
|
if $ruby_enable { include '::mysql::bindings::ruby' }
|
2014-05-09 03:17:44 +02:00
|
|
|
if $client_dev { include '::mysql::bindings::client_dev' }
|
|
|
|
if $daemon_dev { include '::mysql::bindings::daemon_dev' }
|
2013-07-19 21:03:42 +02:00
|
|
|
|
|
|
|
}
|