diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-07 08:10:58 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-07 08:10:58 -0300 |
commit | 89d73990583c213adff17dea5d5849e090f61331 (patch) | |
tree | 91a3d5bda1d024cb2dd58a87566cff7780a5361e /manifests | |
parent | 62b955af3e40e8839b5300b762f41ed814904f20 (diff) | |
download | puppet-database-89d73990583c213adff17dea5d5849e090f61331.tar.gz puppet-database-89d73990583c213adff17dea5d5849e090f61331.tar.bz2 |
Support trusty mysqld section name
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/config.pp | 5 |
1 files changed, 4 insertions, 1 deletions
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', |