package containing ruby bindings is renamed 'ruby-mysql' in wheezy and later releases

This commit is contained in:
Jerome Charaoui 2015-08-05 10:22:04 -04:00
parent 4724a15633
commit 491f7f4dd4

View file

@ -1,6 +1,9 @@
# debian ruby client
class mysql::client::ruby::debian {
package { 'libmysql-ruby':
ensure => present,
if $operatingsystemmajversion >= 7 {
$package = 'ruby-mysql'
} else {
$package = 'libmysql-ruby'
}
ensure_packages([ $package ])
}