2011-06-01 05:47:19 +02:00
|
|
|
# Class: mysql::python
|
|
|
|
#
|
|
|
|
# This class installs the python libs for mysql.
|
|
|
|
#
|
|
|
|
# Parameters:
|
|
|
|
# [*ensure*] - ensure state for package.
|
|
|
|
# can be specified as version.
|
|
|
|
# [*package_name*] - name of package
|
|
|
|
#
|
|
|
|
# Actions:
|
|
|
|
#
|
|
|
|
# Requires:
|
|
|
|
#
|
|
|
|
# Sample Usage:
|
|
|
|
#
|
2011-05-27 03:10:08 +02:00
|
|
|
class mysql::python(
|
|
|
|
$ensure = installed,
|
|
|
|
$package_name = $mysql::params::python_package_name
|
|
|
|
) inherits mysql::params {
|
|
|
|
|
|
|
|
package { 'python-mysqldb':
|
|
|
|
name => $package_name,
|
|
|
|
ensure => $ensure,
|
|
|
|
}
|
|
|
|
}
|