diff options
Diffstat (limited to 'templates/mysql.conf.erb')
-rw-r--r-- | templates/mysql.conf.erb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/mysql.conf.erb b/templates/mysql.conf.erb index b7ac5e8..ad47f15 100644 --- a/templates/mysql.conf.erb +++ b/templates/mysql.conf.erb @@ -9,17 +9,17 @@ end end -%> -hotcopy = <%= hotcopy ? 'yes' : 'no' %> -sqldump = <%= sqldump ? 'yes' : 'no' %> -compress = <%= compress ? 'yes' : 'no' %> +hotcopy = <%= @hotcopy ? 'yes' : 'no' %> +sqldump = <%= @sqldump ? 'yes' : 'no' %> +compress = <%= @compress ? 'yes' : 'no' %> -<% if real_configfile %> -configfile = <%= real_configfile %> +<% 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(" ") %> +<% if @nodata.is_a? String -%> +<%= 'nodata = ' + @nodata %> +<% elsif @nodata.is_a? Array -%> +<%= "nodata = " + @nodata.map { |i| "#{i}" }.join(" ") %> <% end -%> |