From: Silvio Rhatto Date: Thu, 7 Jun 2018 11:14:56 +0000 (-0300) Subject: Config session name check to avoid duplicate resource definition (2) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0a7b9ce22e13e0c9170d8faf4968d21618b340ca;p=puppet-database.git Config session name check to avoid duplicate resource definition (2) --- diff --git a/manifests/config.pp b/manifests/config.pp index faa19e4..9226971 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -26,7 +26,7 @@ define database::config( } # Old file - if $real_section != $section { + if $real_section != 'conf.d' { file { "/etc/mysql/conf.d/${name}.cnf": ensure => absent, }