0b5cc21348
- updated mysql::ruby to use params value for package_name - updated server to use params value for service and package - clarified some param names to make them more consistent
18 lines
536 B
Puppet
18 lines
536 B
Puppet
#installs the ruby bindings for mysql
|
|
class mysql::ruby(
|
|
$package_name = $mysql::params::ruby_package_name
|
|
) inherits mysql::params {
|
|
# I am not making the mysql package a dep for this
|
|
# the only dep is the package which yum will resolve for me.
|
|
#case $operatingsystem {
|
|
# 'debian', 'ubuntu' : {$ruby_mysql_name = 'libmysql-ruby'}
|
|
# default: {$ruby_mysql_name = 'ruby-mysql'}
|
|
#}
|
|
|
|
package{'ruby-mysql':
|
|
# name => $ruby_mysql_name,
|
|
name => $package_name,
|
|
provider => 'gem',
|
|
ensure => installed,
|
|
}
|
|
}
|