0f6886bd99
put a handle on all the params of the class in init.pp so that they can be autoloaded from hiera, and easily fed to the class from a profile class
25 lines
476 B
Puppet
25 lines
476 B
Puppet
# Class: mysql::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::python(
|
|
$package_ensure = 'present',
|
|
$package_name = $mysql::python_package_name,
|
|
) inherits mysql {
|
|
|
|
package { 'python-mysqldb':
|
|
ensure => $package_ensure,
|
|
name => $package_name,
|
|
}
|
|
|
|
}
|