Skip to content

Commit 8cc0083

Browse files
author
Travis Fields
committed
Default to MariaDB for SLES 12
1 parent 790305b commit 8cc0083

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

manifests/params.pp

+7
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@
4545
$provider = 'mysql'
4646
}
4747
}
48+
'SLES': {
49+
if $::operatingsystemmajrelease >= 12 {
50+
$provider = 'mariadb'
51+
} else {
52+
$provider = 'mysql'
53+
}
54+
}
4855
default: {
4956
$provider = 'mysql'
5057
}

0 commit comments

Comments
 (0)