From: Silvio Rhatto Date: Thu, 7 Jun 2018 11:10:58 +0000 (-0300) Subject: Support trusty mysqld section name X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=89d73990583c213adff17dea5d5849e090f61331;p=puppet-database.git Support trusty mysqld section name --- diff --git a/manifests/config.pp b/manifests/config.pp index 1451ace..929423c 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -9,7 +9,10 @@ define database::config( $real_section = $section ? { '' => $implementation ? { 'mysql-server' => $::lsbdistid ? { - 'Ubuntu' => 'mysql.conf.d', + 'Ubuntu' => $::lsbdistcodename ? { + 'trusty' => 'conf.d', + default => 'mysql.conf.d', + }, 'Debian' => 'mariadb.conf.d', }, 'mariadb-server' => 'mariadb.conf.d',