Skip to content

Commit

Permalink
Default to MariaDB for SLES 12
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Fields committed Nov 21, 2014
1 parent 790305b commit 8cc0083
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@
$provider = 'mysql'
}
}
'SLES': {
if $::operatingsystemmajrelease >= 12 {
$provider = 'mariadb'
} else {
$provider = 'mysql'
}
}
default: {
$provider = 'mysql'
}
Expand Down

0 comments on commit 8cc0083

Please sign in to comment.