7c7195ba33
The current MySQL module is hard to modify, test, and drop in replacement components to. This work starts out by refactoring the bindings support in MySQL to a completely seperate bindings class in order to reduce the amount of parameters in the main class for a feature that is infrequently used. In addition to this start the movement of client configuration and packages to the mysql::client::* namespace.
28 lines
693 B
Puppet
28 lines
693 B
Puppet
# Class: mysql::bindings::perl
|
|
#
|
|
# installs the perl bindings for mysql
|
|
#
|
|
# Parameters:
|
|
# [*package_ensure*] - Ensure state for package. Can be specified as version.
|
|
# [*package_name*] - name of package
|
|
# [*package_provider*] - The provider to use to install the package
|
|
#
|
|
# Actions:
|
|
#
|
|
# Requires:
|
|
#
|
|
# Sample Usage:
|
|
#
|
|
class mysql::bindings::perl (
|
|
$package_ensure = $mysql::bindings::perl_package_ensure,
|
|
$package_name = $mysql::bindings::perl_package_name,
|
|
$package_provider = $mysql::bindings::perl_package_provider
|
|
) inherits mysql {
|
|
|
|
package{ 'perl_mysql':
|
|
ensure => $package_ensure,
|
|
name => $package_name,
|
|
provider => $package_provider,
|
|
}
|
|
|
|
}
|