Skip to content

Commit

Permalink
Use tabs for indentation
Browse files Browse the repository at this point in the history
Default indentation of proxysql.cnf is used tabs instead of spaces.
  • Loading branch information
hfm committed Sep 14, 2018
1 parent a87edd2 commit d3ab840
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions templates/proxysql.cnf.epp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ admin_variables=
<% if 'admin_variables' in $proxysql::configs {
$proxysql::configs['admin_variables'].each |$k, $v| { -%>
<%- if $v =~ String { -%>
<%= $k %>="<%= $v %>"
<%= $k %>="<%= $v %>"
<%- } else { -%>
<%= $k %>=<%= $v %>
<%= $k %>=<%= $v %>
<%- } -%>
<% }} -%>
}
Expand All @@ -18,9 +18,9 @@ mysql_variables=
<% if 'mysql_variables' in $proxysql::configs {
$proxysql::configs['mysql_variables'].each |$k, $v| { -%>
<%- if $v =~ String { -%>
<%= $k %>="<%= $v %>"
<%= $k %>="<%= $v %>"
<%- } else { -%>
<%= $k %>=<%= $v %>
<%= $k %>=<%= $v %>
<%- } -%>
<% }} -%>
}
Expand All @@ -31,15 +31,15 @@ mysql_servers =
(
<% if 'mysql_servers' in $proxysql::configs {
$proxysql::configs['mysql_servers'].each |$hashes| { -%>
{
{
<% $hashes.each |$k, $v| { -%>
<%- if $v =~ String { -%>
<%= $k %>="<%= $v %>"
<%= $k %>="<%= $v %>"
<%- } else { -%>
<%= $k %>=<%= $v %>
<%= $k %>=<%= $v %>
<%- } -%>
<% } -%>
},
},
<% }} -%>
)

Expand All @@ -49,15 +49,15 @@ mysql_users:
(
<% if 'mysql_users' in $proxysql::configs {
$proxysql::configs['mysql_users'].each |$hashes| { -%>
{
{
<% $hashes.each |$k, $v| { -%>
<%- if $v =~ String { -%>
<%= $k %>="<%= $v %>"
<%= $k %>="<%= $v %>"
<%- } else { -%>
<%= $k %>=<%= $v %>
<%= $k %>=<%= $v %>
<%- } -%>
<% } -%>
},
},
<% }} -%>
)

Expand All @@ -68,31 +68,31 @@ mysql_query_rules:
(
<% if 'mysql_query_rules' in $proxysql::configs {
$proxysql::configs['mysql_query_rules'].each |$hashes| { -%>
{
{
<% $hashes.each |$k, $v| { -%>
<%- if $v =~ String { -%>
<%= $k %>="<%= $v %>"
<%= $k %>="<%= $v %>"
<%- } else { -%>
<%= $k %>=<%= $v %>
<%= $k %>=<%= $v %>
<%- } -%>
<% } -%>
},
},
<% }} -%>
)

scheduler=
(
<% if 'scheduler' in $proxysql::configs {
$proxysql::configs['scheduler'].each |$hashes| { -%>
{
{
<% $hashes.each |$k, $v| { -%>
<%- if $v =~ String { -%>
<%= $k %>="<%= $v %>"
<%= $k %>="<%= $v %>"
<%- } else { -%>
<%= $k %>=<%= $v %>
<%= $k %>=<%= $v %>
<%- } -%>
<% } -%>
},
},
<% }} -%>
)

Expand All @@ -101,14 +101,14 @@ mysql_replication_hostgroups=
(
<% if 'mysql_replication_hostgroups' in $proxysql::configs {
$proxysql::configs['mysql_replication_hostgroups'].each |$hashes| { -%>
{
{
<% $hashes.each |$k, $v| { -%>
<%- if $v =~ String { -%>
<%= $k %>="<%= $v %>"
<%= $k %>="<%= $v %>"
<%- } else { -%>
<%= $k %>=<%= $v %>
<%= $k %>=<%= $v %>
<%- } -%>
<% } -%>
},
},
<% }} -%>
)

0 comments on commit d3ab840

Please sign in to comment.