summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-07 08:14:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-07 08:14:56 -0300
commit0a7b9ce22e13e0c9170d8faf4968d21618b340ca (patch)
tree0e564d3e5c89c8f2334184cc42e2995ea5fa1995 /manifests
parent2e3065b3fcb44651a1e3c08f5824f12dc0f10bdf (diff)
downloadpuppet-database-0a7b9ce22e13e0c9170d8faf4968d21618b340ca.tar.gz
puppet-database-0a7b9ce22e13e0c9170d8faf4968d21618b340ca.tar.bz2
Config session name check to avoid duplicate resource definition (2)
Diffstat (limited to 'manifests')
-rw-r--r--manifests/config.pp2
1 files changed, 1 insertions, 1 deletions
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,
}