summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-09-14 14:05:53 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-09-14 14:05:53 -0300
commit3bdd82169a0b0034422af1d0b5285469b4973544 (patch)
treec59b47cab43254d3fc0fa003f2689cdc45066ec5
parentc650c36b09677b3f94f3fa28640a70a48f112e86 (diff)
downloadpuppet-mysql-3bdd82169a0b0034422af1d0b5285469b4973544.tar.gz
puppet-mysql-3bdd82169a0b0034422af1d0b5285469b4973544.tar.bz2
Support for ubuntu bionic
-rw-r--r--manifests/server.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index be00587..2e74beb 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -11,6 +11,10 @@ class mysql::server(
$authentication_string = $::lsbdistid ? {
'Ubuntu' => $::lsbdistcodename ? {
'trusty' => 'Password=PASSWORD',
+ 'bionic' => $implementation ? {
+ 'mysql-server' => 'authentication_string=password',
+ default => 'Password=PASSWORD',
+ },
'xenial' => $implementation ? {
'mysql-server' => 'authentication_string=password',
default => 'Password=PASSWORD',