OP#669 initial commit with new autolayout
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
## haproxy_cd::server::proxy.pp
|
||||
# Module name: haproxy_cd
|
||||
## confdroid_haproxy::server::proxy.pp
|
||||
# Module name: confdroid_haproxy
|
||||
# Author: Arne Teuke (arne_teuke@ConfDroid.com)
|
||||
# @summary Define manages the proxies for haproxy_cd.
|
||||
# @summary Define manages the proxies for confdroid_haproxy.
|
||||
# @param [String] haproxy_fqdn the fqdn of the haproxy server in question.
|
||||
# @param [String] frontend_name the name for the frontend section rule.
|
||||
# @param [String] frontend_order where the concat should appear in the file.
|
||||
@@ -31,7 +31,7 @@
|
||||
# @param [String] be_http_request value for a backend http request
|
||||
# @param [String] be_acl_rule value for a backend acl rule
|
||||
###############################################################################
|
||||
define haproxy_cd::server::proxy (
|
||||
define confdroid_haproxy::server::proxy (
|
||||
|
||||
String $haproxy_fqdn = undef,
|
||||
String $frontend_name = undef,
|
||||
@@ -63,9 +63,9 @@ define haproxy_cd::server::proxy (
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
|
||||
$hy_main_config = '/etc/haproxy/haproxy.cfg'
|
||||
$hy_frontendrule = 'haproxy_cd/haproxy_frontend_rule.erb'
|
||||
$hy_backendrule = 'haproxy_cd/haproxy_backend_rule.erb'
|
||||
$hy_acl_rule = 'haproxy_cd/haproxy_acl_rule.erb'
|
||||
$hy_frontendrule = 'confdroid_haproxy/haproxy_frontend_rule.erb'
|
||||
$hy_backendrule = 'confdroid_haproxy/haproxy_backend_rule.erb'
|
||||
$hy_acl_rule = 'confdroid_haproxy/haproxy_acl_rule.erb'
|
||||
|
||||
# Ensure acl_rule_front and acl_rule_back are arrays
|
||||
$acl_rule_front_array = split($acl_rule_front, ';')
|
||||
|
||||
Reference in New Issue
Block a user