2011-06-01 05:47:19 +02:00
|
|
|
# Class: mysql::python
|
|
|
|
#
|
|
|
|
# This class installs the python libs for mysql.
|
|
|
|
#
|
|
|
|
# Parameters:
|
2013-04-09 20:45:55 +02:00
|
|
|
# [*package_ensure*] - Ensure state for package. Can be specified as version.
|
|
|
|
# [*package_name*] - Name of package
|
2011-06-01 05:47:19 +02:00
|
|
|
#
|
|
|
|
# Actions:
|
|
|
|
#
|
|
|
|
# Requires:
|
|
|
|
#
|
|
|
|
# Sample Usage:
|
|
|
|
#
|
2011-05-27 03:10:08 +02:00
|
|
|
class mysql::python(
|
2013-04-09 20:45:55 +02:00
|
|
|
$package_ensure = 'present',
|
2013-04-25 00:02:46 +02:00
|
|
|
$package_name = $mysql::python_package_name
|
2013-04-09 20:45:55 +02:00
|
|
|
) inherits mysql {
|
2011-05-27 03:10:08 +02:00
|
|
|
|
|
|
|
package { 'python-mysqldb':
|
2012-02-09 20:26:00 +01:00
|
|
|
ensure => $package_ensure,
|
2012-09-04 15:59:47 +02:00
|
|
|
name => $package_name,
|
2011-05-27 03:10:08 +02:00
|
|
|
}
|
2012-02-09 20:26:00 +01:00
|
|
|
|
2011-05-27 03:10:08 +02:00
|
|
|
}
|