package containing ruby bindings is renamed 'ruby-mysql' in wheezy and later releases
This commit is contained in:
parent
4724a15633
commit
491f7f4dd4
1 changed files with 5 additions and 2 deletions
|
@ -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 ])
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue