summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-07 08:10:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-07 08:10:58 -0300
commit89d73990583c213adff17dea5d5849e090f61331 (patch)
tree91a3d5bda1d024cb2dd58a87566cff7780a5361e
parent62b955af3e40e8839b5300b762f41ed814904f20 (diff)
downloadpuppet-database-89d73990583c213adff17dea5d5849e090f61331.tar.gz
puppet-database-89d73990583c213adff17dea5d5849e090f61331.tar.bz2
Support trusty mysqld section name
-rw-r--r--manifests/config.pp5
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',