recommit for updates in build 182
This commit is contained in:
@@ -248,7 +248,16 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
|||||||
151
|
151
|
||||||
152
|
152
|
||||||
153
|
153
|
||||||
154</pre>
|
154
|
||||||
|
155
|
||||||
|
156
|
||||||
|
157
|
||||||
|
158
|
||||||
|
159
|
||||||
|
160
|
||||||
|
161
|
||||||
|
162
|
||||||
|
163</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/main/files.pp', line 23</span>
|
<pre class="code"><span class="info file"># File 'manifests/main/files.pp', line 23</span>
|
||||||
@@ -280,6 +289,15 @@ class cd_haproxy::main::files (
|
|||||||
order => '001',
|
order => '001',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# create the header
|
||||||
|
concat::fragment { 'tail':
|
||||||
|
target => $hy_main_config,
|
||||||
|
content => template($hy_config_tail_erb),
|
||||||
|
order => '100',
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# pid file
|
# pid file
|
||||||
file { $hy_pid:
|
file { $hy_pid:
|
||||||
ensure => file,
|
ensure => file,
|
||||||
|
|||||||
@@ -92,32 +92,12 @@
|
|||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>Summary</h2>
|
|
||||||
Class holds all parameters for the cd_haproxy module and is
|
|
||||||
inherited by all classes except defines.
|
|
||||||
|
|
||||||
<h2>Overview</h2>
|
<h2>Overview</h2>
|
||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_haproxy::params.pp Module name: cd_haproxy Author: Arne Teuke
|
<p>cd_haproxy::params.pp Module name: cd_haproxy Author: Arne Teuke
|
||||||
(arne_teuke@confdroid.com) License: This file is part of cd_haproxy.</p>
|
(arne_teuke@confdroid.com)</p>
|
||||||
|
|
||||||
<p>cd_haproxy is used for providing automatic configuration of HA proxy.
|
|
||||||
Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
|
|
||||||
free software: you can redistribute it and/or modify it under the terms of
|
|
||||||
the GNU General Public License as published by the Free Software
|
|
||||||
Foundation, either version 3 of the License, or (at your option) any later
|
|
||||||
version.</p>
|
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful, but
|
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
for more details.</p>
|
|
||||||
|
|
||||||
<p>You should have received a copy of the GNU General Public License along
|
|
||||||
with this program. If not, see <a
|
|
||||||
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -733,13 +713,6 @@ succeed.</p>
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p class="tag_title">See Also:</p>
|
|
||||||
<ul class="see">
|
|
||||||
|
|
||||||
<li><a href="https://cbonte.github.io/haproxy-dconv/1.5/configuration.html" target="_parent" title="https://cbonte.github.io/haproxy-dconv/1.5/configuration.html">https://cbonte.github.io/haproxy-dconv/1.5/configuration.html</a></li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</div><div class="method_details_list">
|
</div><div class="method_details_list">
|
||||||
<table class="source_code">
|
<table class="source_code">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -747,6 +720,26 @@ succeed.</p>
|
|||||||
<pre class="lines">
|
<pre class="lines">
|
||||||
|
|
||||||
|
|
||||||
|
58
|
||||||
|
59
|
||||||
|
60
|
||||||
|
61
|
||||||
|
62
|
||||||
|
63
|
||||||
|
64
|
||||||
|
65
|
||||||
|
66
|
||||||
|
67
|
||||||
|
68
|
||||||
|
69
|
||||||
|
70
|
||||||
|
71
|
||||||
|
72
|
||||||
|
73
|
||||||
|
74
|
||||||
|
75
|
||||||
|
76
|
||||||
|
77
|
||||||
78
|
78
|
||||||
79
|
79
|
||||||
80
|
80
|
||||||
@@ -804,29 +797,10 @@ succeed.</p>
|
|||||||
132
|
132
|
||||||
133
|
133
|
||||||
134
|
134
|
||||||
135
|
135</pre>
|
||||||
136
|
|
||||||
137
|
|
||||||
138
|
|
||||||
139
|
|
||||||
140
|
|
||||||
141
|
|
||||||
142
|
|
||||||
143
|
|
||||||
144
|
|
||||||
145
|
|
||||||
146
|
|
||||||
147
|
|
||||||
148
|
|
||||||
149
|
|
||||||
150
|
|
||||||
151
|
|
||||||
152
|
|
||||||
153
|
|
||||||
154</pre>
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 78</span>
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 58</span>
|
||||||
|
|
||||||
class cd_haproxy::params (
|
class cd_haproxy::params (
|
||||||
|
|
||||||
@@ -885,6 +859,7 @@ $hy_errors_dir = "${hy_main_dir}/errors"
|
|||||||
# files
|
# files
|
||||||
$hy_main_config = "${hy_main_dir}/haproxy.cfg"
|
$hy_main_config = "${hy_main_dir}/haproxy.cfg"
|
||||||
$hy_config_head_erb = 'cd_haproxy/haproxy_head.erb'
|
$hy_config_head_erb = 'cd_haproxy/haproxy_head.erb'
|
||||||
|
$hy_config_tail_erb = 'cd_haproxy/haproxy_tail.erb'
|
||||||
$hy_400_file = "${hy_errors_dir}/400.http"
|
$hy_400_file = "${hy_errors_dir}/400.http"
|
||||||
$hy_400_erb = 'cd_haproxy/errors/400_http.erb'
|
$hy_400_erb = 'cd_haproxy/errors/400_http.erb'
|
||||||
$hy_403_file = "${hy_errors_dir}/403.http"
|
$hy_403_file = "${hy_errors_dir}/403.http"
|
||||||
|
|||||||
@@ -453,7 +453,9 @@ instance configuration.</p>
|
|||||||
71
|
71
|
||||||
72
|
72
|
||||||
73
|
73
|
||||||
74</pre>
|
74
|
||||||
|
75
|
||||||
|
76</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/server/proxy.pp', line 24</span>
|
<pre class="code"><span class="info file"># File 'manifests/server/proxy.pp', line 24</span>
|
||||||
@@ -486,6 +488,7 @@ define cd_haproxy::server::proxy (
|
|||||||
$hy_acl_rule = 'cd_haproxy/haproxy_acl_rule.erb'
|
$hy_acl_rule = 'cd_haproxy/haproxy_acl_rule.erb'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Ensure acl_rule_front and acl_rule_back are arrays
|
# Ensure acl_rule_front and acl_rule_back are arrays
|
||||||
$acl_rule_front_array = split($acl_rule_front, ';')
|
$acl_rule_front_array = split($acl_rule_front, ';')
|
||||||
$acl_rule_back_array = split($acl_rule_back, ';')
|
$acl_rule_back_array = split($acl_rule_back, ';')
|
||||||
@@ -508,6 +511,7 @@ define cd_haproxy::server::proxy (
|
|||||||
content => template($hy_backendrule),
|
content => template($hy_backendrule),
|
||||||
order => $backend_order,
|
order => $backend_order,
|
||||||
}
|
}
|
||||||
|
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user