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.
25 lines
535 B
Puppet
25 lines
535 B
Puppet
# Class: mysql::bindings::python
|
|
#
|
|
# This class installs the python libs for mysql.
|
|
#
|
|
# Parameters:
|
|
# [*package_ensure*] - Ensure state for package. Can be specified as version.
|
|
# [*package_name*] - Name of package
|
|
#
|
|
# Actions:
|
|
#
|
|
# Requires:
|
|
#
|
|
# Sample Usage:
|
|
#
|
|
class mysql::bindings::python(
|
|
$package_ensure = $mysql::bindings::python_package_ensure,
|
|
$package_name = $mysql::bindings::python_package_name
|
|
) inherits mysql {
|
|
|
|
package { 'python-mysqldb':
|
|
ensure => $package_ensure,
|
|
name => $package_name,
|
|
}
|
|
|
|
}
|