64110deddc
* Adapt to Puppet 4 * Code cleanup Change-Id: I540ac66098434aea231aa7711e90f7e109ea3761 Partial-Bug: #1533359
29 lines
596 B
Puppet
29 lines
596 B
Puppet
# 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:
|
|
#
|
|
class mysql::ruby (
|
|
$package_name = $mysql::params::ruby_package_name,
|
|
$package_provider = $mysql::params::ruby_package_provider,
|
|
$package_ensure = 'present'
|
|
) inherits mysql::params {
|
|
|
|
package{ 'ruby_mysql':
|
|
ensure => $package_ensure,
|
|
name => $package_name,
|
|
provider => $package_provider,
|
|
}
|
|
|
|
}
|