2011-06-01 05:47:19 +02:00
|
|
|
# Class: mysql::ruby
|
|
|
|
#
|
|
|
|
# installs the ruby bindings 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
|
|
|
|
# [*package_provider*] - The provider to use to install the package
|
2011-06-01 05:47:19 +02:00
|
|
|
#
|
|
|
|
# Actions:
|
|
|
|
#
|
|
|
|
# Requires:
|
|
|
|
#
|
|
|
|
# Sample Usage:
|
|
|
|
#
|
2012-02-09 20:26:00 +01:00
|
|
|
class mysql::ruby (
|
2013-04-09 20:45:55 +02:00
|
|
|
$package_ensure = 'present',
|
|
|
|
$package_name = $mysql::ruby_package_name,
|
2013-04-25 00:02:46 +02:00
|
|
|
$package_provider = $mysql::ruby_package_provider
|
2013-04-09 20:45:55 +02:00
|
|
|
) inherits mysql {
|
2011-05-25 08:22:43 +02:00
|
|
|
|
2012-02-09 20:26:00 +01:00
|
|
|
package{ 'ruby_mysql':
|
|
|
|
ensure => $package_ensure,
|
2012-09-04 15:59:47 +02:00
|
|
|
name => $package_name,
|
2011-06-16 23:03:05 +02:00
|
|
|
provider => $package_provider,
|
2011-05-25 08:22:43 +02:00
|
|
|
}
|
2012-02-09 20:26:00 +01:00
|
|
|
|
2011-05-25 08:22:43 +02:00
|
|
|
}
|