aboutsummaryrefslogtreecommitdiff
path: root/templates/mysql.conf.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mysql.conf.erb')
-rw-r--r--templates/mysql.conf.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/mysql.conf.erb b/templates/mysql.conf.erb
index 82dc368..b7ac5e8 100644
--- a/templates/mysql.conf.erb
+++ b/templates/mysql.conf.erb
@@ -16,3 +16,10 @@ compress = <%= compress ? 'yes' : 'no' %>
<% if real_configfile %>
configfile = <%= real_configfile %>
<% end %>
+
+<% if nodata.is_a? String -%>
+<%= 'nodata = ' + nodata %>
+<% elsif nodata.is_a? Array -%>
+<%= "nodata = " + nodata.map { |i| "#{i}" }.join(" ") %>
+<% end -%>
+