aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAntoine Beaupre <anarcat@koumbit.org>2008-12-06 19:36:54 -0500
committerAntoine Beaupre <anarcat@koumbit.org>2008-12-06 19:36:54 -0500
commit37a6a9feb1a3674c9d7d8cea162acc253e035d56 (patch)
treef02859e3c2023a9e7f7468dce72c2d51f4a67d99 /templates
parent4573647f6b6d477fd44191a252e4ee2fda1ae453 (diff)
downloadpuppet-backupninja-37a6a9feb1a3674c9d7d8cea162acc253e035d56.tar.gz
puppet-backupninja-37a6a9feb1a3674c9d7d8cea162acc253e035d56.tar.bz2
allow disabling the configfile parameter completely, put it in the config file properly
Diffstat (limited to 'templates')
-rw-r--r--templates/mysql.conf.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/mysql.conf.erb b/templates/mysql.conf.erb
index 9d22ab0..14905fd 100644
--- a/templates/mysql.conf.erb
+++ b/templates/mysql.conf.erb
@@ -12,3 +12,7 @@ end -%>
hotcopy = <%= hotcopy ? 'yes' : 'no' %>
sqldump = <%= sqldump ? 'yes' : 'no' %>
compress = <%= compress ? 'yes' : 'no' %>
+
+<% if real_configfile %>
+configfile = <%= real_configfile %>
+<% end %>