2012-04-24 06:24:01 +02:00
|
|
|
# Class: mysql::java
|
|
|
|
#
|
|
|
|
# This class installs the mysql-java-connector.
|
|
|
|
#
|
|
|
|
# Parameters:
|
2013-04-09 20:45:55 +02:00
|
|
|
# [*package_name*] - The name of the mysql java package.
|
|
|
|
# [*package_ensure*] - Ensure state for package. Can be specified as version.
|
2012-04-24 06:24:01 +02:00
|
|
|
# Actions:
|
|
|
|
#
|
|
|
|
# Requires:
|
|
|
|
#
|
|
|
|
# Sample Usage:
|
|
|
|
#
|
|
|
|
class mysql::java (
|
2013-04-09 20:45:55 +02:00
|
|
|
$package_ensure = 'present',
|
2013-04-25 00:02:46 +02:00
|
|
|
$package_name = $mysql::java_package_name
|
2013-04-09 20:45:55 +02:00
|
|
|
) inherits mysql {
|
2012-04-24 06:44:31 +02:00
|
|
|
|
2012-04-24 06:24:01 +02:00
|
|
|
package { 'mysql-connector-java':
|
|
|
|
ensure => $package_ensure,
|
|
|
|
name => $package_name,
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|