2011-06-01 05:47:19 +02:00
|
|
|
# Class: mysql::ruby
|
|
|
|
#
|
|
|
|
# installs the ruby bindings for mysql
|
|
|
|
#
|
|
|
|
# Parameters:
|
|
|
|
# [*ensure*] - ensure state for package.
|
|
|
|
# can be specified as version.
|
|
|
|
# [*package_name*] - name of package
|
|
|
|
#
|
|
|
|
# Actions:
|
|
|
|
#
|
|
|
|
# Requires:
|
|
|
|
#
|
|
|
|
# Sample Usage:
|
|
|
|
#
|
2012-02-09 20:26:00 +01:00
|
|
|
class mysql::ruby (
|
|
|
|
$package_name = $mysql::params::ruby_package_name,
|
|
|
|
$package_provider = $mysql::params::ruby_package_provider,
|
|
|
|
$package_ensure = 'present'
|
2011-05-27 03:11:24 +02:00
|
|
|
) inherits mysql::params {
|
2011-05-25 08:22:43 +02:00
|
|
|
|
2012-02-09 20:26:00 +01:00
|
|
|
package{ 'ruby_mysql':
|
|
|
|
name => $package_name,
|
|
|
|
ensure => $package_ensure,
|
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
|
|
|
}
|