recommit for updates in build 6
This commit is contained in:
10
CHANGELOG.md
10
CHANGELOG.md
@@ -8,6 +8,16 @@ Changelog of Git Changelog.
|
|||||||
<h2> No issue </h2>
|
<h2> No issue </h2>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/19592e5d1921dd6">19592e5d1921dd6</a> Jenkins ConfDroid <i>2018-12-10 13:39:32</i>
|
||||||
|
<p>
|
||||||
|
<h3>recommit for updates in build 4</h3>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/2f3afa420b80af8">2f3afa420b80af8</a> Arne Teuke <i>2018-12-10 13:36:54</i>
|
||||||
|
<p>
|
||||||
|
<h3>adds haproxy user</h3>
|
||||||
|
|
||||||
|
</p>
|
||||||
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/672d9954a008213">672d9954a008213</a> Jenkins ConfDroid <i>2018-12-07 14:09:55</i>
|
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/672d9954a008213">672d9954a008213</a> Jenkins ConfDroid <i>2018-12-07 14:09:55</i>
|
||||||
<p>
|
<p>
|
||||||
<h3>recommit for updates in build 3</h3>
|
<h3>recommit for updates in build 3</h3>
|
||||||
|
|||||||
@@ -14,14 +14,18 @@
|
|||||||
| | |-- cd_haproxy_3A_3Amain_3A_3Adirs.html
|
| | |-- cd_haproxy_3A_3Amain_3A_3Adirs.html
|
||||||
| | |-- cd_haproxy_3A_3Amain_3A_3Afiles.html
|
| | |-- cd_haproxy_3A_3Amain_3A_3Afiles.html
|
||||||
| | |-- cd_haproxy_3A_3Amain_3A_3Ainstall.html
|
| | |-- cd_haproxy_3A_3Amain_3A_3Ainstall.html
|
||||||
|
| | |-- cd_haproxy_3A_3Amain_3A_3Auser.html
|
||||||
| | |-- cd_haproxy_3A_3Aparams.html
|
| | |-- cd_haproxy_3A_3Aparams.html
|
||||||
| | |-- cd_haproxy_3A_3Aserver_3A_3Aservice.html
|
| | |-- cd_haproxy_3A_3Aserver_3A_3Aservice.html
|
||||||
| | `-- cd_haproxy.html
|
| | `-- cd_haproxy.html
|
||||||
|
| |-- puppet_defined_types
|
||||||
|
| | `-- cd_haproxy_3A_3Aserver_3A_3Aproxy.html
|
||||||
| |-- file.README.html
|
| |-- file.README.html
|
||||||
| |-- frames.html
|
| |-- frames.html
|
||||||
| |-- _index.html
|
| |-- _index.html
|
||||||
| |-- index.html
|
| |-- index.html
|
||||||
| |-- puppet_class_list.html
|
| |-- puppet_class_list.html
|
||||||
|
| |-- puppet_defined_type_list.html
|
||||||
| `-- top-level-namespace.html
|
| `-- top-level-namespace.html
|
||||||
|-- manifests
|
|-- manifests
|
||||||
| |-- firewall
|
| |-- firewall
|
||||||
@@ -38,7 +42,8 @@
|
|||||||
| |-- init.pp
|
| |-- init.pp
|
||||||
| `-- params.pp
|
| `-- params.pp
|
||||||
|-- templates
|
|-- templates
|
||||||
| `-- haproxy.cfg
|
| |-- haproxy.cfg
|
||||||
|
| `-- haproxy_head.erb
|
||||||
|-- tests
|
|-- tests
|
||||||
| `-- UTF_Files
|
| `-- UTF_Files
|
||||||
|-- CHANGELOG.md
|
|-- CHANGELOG.md
|
||||||
@@ -48,4 +53,4 @@
|
|||||||
|-- LICENSE
|
|-- LICENSE
|
||||||
`-- README.md
|
`-- README.md
|
||||||
|
|
||||||
10 directories, 38 files
|
11 directories, 42 files
|
||||||
|
|||||||
@@ -123,11 +123,13 @@ href="https://gitlab.confdroid.com/12WW1160/cd_haproxy/blob/master/CHANGELOG.md"
|
|||||||
|
|
||||||
<h3 id="label-Features">Features</h3>
|
<h3 id="label-Features">Features</h3>
|
||||||
|
|
||||||
<p>INSTALLATION * install binaries</p>
|
<p>INSTALLATION * install rpm binaries</p>
|
||||||
|
|
||||||
<p>CONFIGURATION</p>
|
<p>CONFIGURATION * manage haproxy user * manage directories (file system
|
||||||
|
permissions, selinux context) * manage files (file system permissions,
|
||||||
|
content, selinux context)</p>
|
||||||
|
|
||||||
<p>SERVICE * manage service</p>
|
<p>SERVICE * manage haproxy service</p>
|
||||||
|
|
||||||
<h3 id="label-Repo+Structure">Repo Structure</h3>
|
<h3 id="label-Repo+Structure">Repo Structure</h3>
|
||||||
|
|
||||||
@@ -145,8 +147,9 @@ href="https://gitlab.confdroid.com/12WW1160/cd_haproxy/blob/master/CHANGELOG.md"
|
|||||||
href="https://gitlab.confdroid.com/12WW1160/cd_resources">cd_resources</a>
|
href="https://gitlab.confdroid.com/12WW1160/cd_resources">cd_resources</a>
|
||||||
for managing yum base repos</p>
|
for managing yum base repos</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="https://gitlab.confdroid.com/12WW1160/certbot">cd_certbot</a> for
|
<p><a href="https://gitlab.confdroid.com/12ww1160/cd_concat">cd_concat</a> or
|
||||||
automating TLS certificates for https</p>
|
<a href="https://github.com/puppetlabs/puppetlabs-concat">concat</a> for
|
||||||
|
managing file fragments</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<h3 id="label-Deployment">Deployment</h3>
|
<h3 id="label-Deployment">Deployment</h3>
|
||||||
|
|||||||
@@ -123,11 +123,13 @@ href="https://gitlab.confdroid.com/12WW1160/cd_haproxy/blob/master/CHANGELOG.md"
|
|||||||
|
|
||||||
<h3 id="label-Features">Features</h3>
|
<h3 id="label-Features">Features</h3>
|
||||||
|
|
||||||
<p>INSTALLATION * install binaries</p>
|
<p>INSTALLATION * install rpm binaries</p>
|
||||||
|
|
||||||
<p>CONFIGURATION</p>
|
<p>CONFIGURATION * manage haproxy user * manage directories (file system
|
||||||
|
permissions, selinux context) * manage files (file system permissions,
|
||||||
|
content, selinux context)</p>
|
||||||
|
|
||||||
<p>SERVICE * manage service</p>
|
<p>SERVICE * manage haproxy service</p>
|
||||||
|
|
||||||
<h3 id="label-Repo+Structure">Repo Structure</h3>
|
<h3 id="label-Repo+Structure">Repo Structure</h3>
|
||||||
|
|
||||||
@@ -145,8 +147,9 @@ href="https://gitlab.confdroid.com/12WW1160/cd_haproxy/blob/master/CHANGELOG.md"
|
|||||||
href="https://gitlab.confdroid.com/12WW1160/cd_resources">cd_resources</a>
|
href="https://gitlab.confdroid.com/12WW1160/cd_resources">cd_resources</a>
|
||||||
for managing yum base repos</p>
|
for managing yum base repos</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="https://gitlab.confdroid.com/12WW1160/certbot">cd_certbot</a> for
|
<p><a href="https://gitlab.confdroid.com/12ww1160/cd_concat">cd_concat</a> or
|
||||||
automating TLS certificates for https</p>
|
<a href="https://github.com/puppetlabs/puppetlabs-concat">concat</a> for
|
||||||
|
managing file fragments</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<h3 id="label-Deployment">Deployment</h3>
|
<h3 id="label-Deployment">Deployment</h3>
|
||||||
|
|||||||
@@ -125,7 +125,17 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
|||||||
29
|
29
|
||||||
30
|
30
|
||||||
31
|
31
|
||||||
32</pre>
|
32
|
||||||
|
33
|
||||||
|
34
|
||||||
|
35
|
||||||
|
36
|
||||||
|
37
|
||||||
|
38
|
||||||
|
39
|
||||||
|
40
|
||||||
|
41
|
||||||
|
42</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/main/dirs.pp', line 23</span>
|
<pre class="code"><span class="info file"># File 'manifests/main/dirs.pp', line 23</span>
|
||||||
@@ -136,9 +146,19 @@ class cd_haproxy::main::dirs (
|
|||||||
|
|
||||||
if $fqdn == $hy_host_fqdn {
|
if $fqdn == $hy_host_fqdn {
|
||||||
require cd_haproxy::main::user
|
require cd_haproxy::main::user
|
||||||
|
|
||||||
|
# main dir
|
||||||
|
file { $hy_main_dir:
|
||||||
|
ensure => directory,
|
||||||
|
owner => 'root',
|
||||||
|
group => 'root',
|
||||||
|
mode => '0755',
|
||||||
|
selrange => s0,
|
||||||
|
selrole => object_r,
|
||||||
|
seltype => etc_t,
|
||||||
|
seluser => system_u,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -123,7 +123,26 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
|||||||
27
|
27
|
||||||
28
|
28
|
||||||
29
|
29
|
||||||
30</pre>
|
30
|
||||||
|
31
|
||||||
|
32
|
||||||
|
33
|
||||||
|
34
|
||||||
|
35
|
||||||
|
36
|
||||||
|
37
|
||||||
|
38
|
||||||
|
39
|
||||||
|
40
|
||||||
|
41
|
||||||
|
42
|
||||||
|
43
|
||||||
|
44
|
||||||
|
45
|
||||||
|
46
|
||||||
|
47
|
||||||
|
48
|
||||||
|
49</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>
|
||||||
@@ -134,6 +153,25 @@ class cd_haproxy::main::files (
|
|||||||
|
|
||||||
if $fqdn == $hy_host_fqdn {
|
if $fqdn == $hy_host_fqdn {
|
||||||
require cd_haproxy::main::dirs
|
require cd_haproxy::main::dirs
|
||||||
|
|
||||||
|
# create the concat target
|
||||||
|
concat {$hy_main_config:
|
||||||
|
ensure => present,
|
||||||
|
owner => 'root',
|
||||||
|
group => 'root',
|
||||||
|
mode => '0640',
|
||||||
|
selrange => s0,
|
||||||
|
selrole => object_r,
|
||||||
|
seltype => etc_t,
|
||||||
|
seluser => system_u,
|
||||||
|
}
|
||||||
|
|
||||||
|
# create the header
|
||||||
|
concat::fragment { 'header':
|
||||||
|
target => $hy_main_config,
|
||||||
|
content => $hy_config_head_erb,
|
||||||
|
order => '001',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -395,7 +395,9 @@ to <code>tcp</code>.</p>
|
|||||||
73
|
73
|
||||||
74
|
74
|
||||||
75
|
75
|
||||||
76</pre>
|
76
|
||||||
|
77
|
||||||
|
78</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 40</span>
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 40</span>
|
||||||
@@ -427,9 +429,11 @@ $hy_user_shell = '/sbin/nologin',
|
|||||||
$hy_service = 'haproxy'
|
$hy_service = 'haproxy'
|
||||||
|
|
||||||
# directories
|
# directories
|
||||||
|
$hy_main_dir = '/etc/haproxy'
|
||||||
|
|
||||||
# files
|
# files
|
||||||
|
$hy_main_config = "${hy_main_dir}/haproxy.cfg"
|
||||||
|
$hy_config_head_erb = 'cd_puppet/haproxy_head.erb'
|
||||||
|
|
||||||
|
|
||||||
# includes must be last
|
# includes must be last
|
||||||
|
|||||||
Reference in New Issue
Block a user