Skip to content

Commit 28befe6

Browse files
authored
Merge pull request #1396 from thomasgoirand/fix-binding-in-debian-11
(bugfix) - Pull python3-mysqldb in Debian Bullseye
2 parents 6183586 + d0e6763 commit 28befe6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manifests/params.pp

+2-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,8 @@
252252
($::operatingsystem == 'Debian') {
253253
$xtrabackup_package_name_override = 'percona-xtrabackup-24'
254254
}
255-
if ($::operatingsystem == 'Ubuntu' and versioncmp($::operatingsystemrelease, '20.04') >= 0) {
255+
if ($::operatingsystem == 'Ubuntu' and versioncmp($::operatingsystemrelease, '20.04') >= 0) or
256+
($::operatingsystem == 'Debian' and versioncmp($::operatingsystemrelease, '11') >= 0){
256257
$python_package_name = 'python3-mysqldb'
257258
} else {
258259
$python_package_name = 'python-mysqldb'

0 commit comments

Comments
 (0)