module-puppetlabs-mysql/manifests/perl.pp
Chris Weyl fac48b8584 add mysql::perl
An additional helper class to ensure that the Perl MySQL DBD driver is
installed (DBD::mysql).
2013-05-03 09:25:30 -07:00

28 lines
625 B
Puppet

# Class: mysql::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::perl (
$package_ensure = 'present',
$package_name = $mysql::perl_package_name,
$package_provider = $mysql::perl_package_provider
) inherits mysql {
package{ 'perl_mysql':
ensure => $package_ensure,
name => $package_name,
provider => $package_provider,
}
}