Skip to content

Commit 529d5a1

Browse files
Bugfix on Debian 9 : ruby_package_name must be ruby-mysql2 (#1223)
Bugfix on Debian 9 : ruby_package_name must be ruby-mysql2
2 parents 46df303 + 52db7f1 commit 529d5a1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

manifests/params.pp

+6-5
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,12 @@
223223
}
224224

225225
$python_package_name = 'python-mysqldb'
226-
$ruby_package_name = $::operatingsystemrelease ? {
227-
'8' => 'ruby-mysql',
228-
'9' => 'ruby-mysql2',
229-
'14' => 'ruby-mysql',
230-
'16' => 'ruby-mysql',
226+
$ruby_package_name = $::lsbdistcodename ? {
227+
'jessie' => 'ruby-mysql',
228+
'stretch' => 'ruby-mysql2',
229+
'trusty' => 'ruby-mysql',
230+
'xenial' => 'ruby-mysql',
231+
'bionic' => 'ruby-mysql2',
231232
default => 'libmysql-ruby',
232233
}
233234
}

0 commit comments

Comments
 (0)