From 0ae34d28d93e915cb61f802f1df57c3ee42af6b8 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Mon, 27 Jan 2025 12:36:31 +0100 Subject: [PATCH] change parameter --- templates/haproxy_acl_rule.erb | 2 +- templates/haproxy_backend_rule.erb | 2 +- templates/haproxy_frontend_rule.erb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/haproxy_acl_rule.erb b/templates/haproxy_acl_rule.erb index cde8af7..3584f0a 100644 --- a/templates/haproxy_acl_rule.erb +++ b/templates/haproxy_acl_rule.erb @@ -1,4 +1,4 @@ -<% if @fqdn == @hy_host_fqdn -%> +<% if @fqdn == @haproxy_fqdn -%> <% if @acl_rule != '' -%> <% @acl_rule.each do |acl_rule| -%> acl <%= acl_rule %> diff --git a/templates/haproxy_backend_rule.erb b/templates/haproxy_backend_rule.erb index c18961b..090772e 100644 --- a/templates/haproxy_backend_rule.erb +++ b/templates/haproxy_backend_rule.erb @@ -1,4 +1,4 @@ -<% if @fqdn == @hy_host_fqdn -%> +<% if @fqdn == @haproxy_fqdn -%> backend <%= @backend_name %> <% @be_server_name.each do |be_server| -%> server <%= be_server %> diff --git a/templates/haproxy_frontend_rule.erb b/templates/haproxy_frontend_rule.erb index 7f9ca84..3b569d7 100644 --- a/templates/haproxy_frontend_rule.erb +++ b/templates/haproxy_frontend_rule.erb @@ -1,4 +1,4 @@ -<% if @fqdn == @hy_host_fqdn -%> +<% if @fqdn == @haproxy_fqdn -%> frontend <%= @frontend_name %> mode <%= @frontend_mode %> bind <%= @fe_bind_mode %>