recommit for updates in build 7
This commit is contained in:
@@ -107,7 +107,15 @@
|
|||||||
9
|
9
|
||||||
10
|
10
|
||||||
11
|
11
|
||||||
12</pre>
|
12
|
||||||
|
13
|
||||||
|
14
|
||||||
|
15
|
||||||
|
16
|
||||||
|
17
|
||||||
|
18
|
||||||
|
19
|
||||||
|
20</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/main/service.pp', line 6</span>
|
<pre class="code"><span class="info file"># File 'manifests/main/service.pp', line 6</span>
|
||||||
@@ -117,6 +125,14 @@ class jenkins_cd::main::service (
|
|||||||
) inherits jenkins_cd::params {
|
) inherits jenkins_cd::params {
|
||||||
if $fqdn == $js_host_fqdn {
|
if $fqdn == $js_host_fqdn {
|
||||||
require jenkins_cd::main::files
|
require jenkins_cd::main::files
|
||||||
|
require jenkins_cd::firewall::iptables
|
||||||
|
|
||||||
|
service { $js_service:
|
||||||
|
ensure => running,
|
||||||
|
hasstatus => true,
|
||||||
|
hasrestart => true,
|
||||||
|
enable => true,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -275,7 +275,10 @@
|
|||||||
38
|
38
|
||||||
39
|
39
|
||||||
40
|
40
|
||||||
41</pre>
|
41
|
||||||
|
42
|
||||||
|
43
|
||||||
|
44</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 13</span>
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 13</span>
|
||||||
@@ -306,6 +309,9 @@ class jenkins_cd::params (
|
|||||||
$js_key_url = "${js_base_url}/jenkins.io-2023.key"
|
$js_key_url = "${js_base_url}/jenkins.io-2023.key"
|
||||||
$js_key_code = 'gpg-pubkey-ef5975ca-6421ce2b'
|
$js_key_code = 'gpg-pubkey-ef5975ca-6421ce2b'
|
||||||
|
|
||||||
|
# Service
|
||||||
|
$js_service = 'jenkins'
|
||||||
|
|
||||||
# includes must be last
|
# includes must be last
|
||||||
include jenkins_cd::main::config
|
include jenkins_cd::main::config
|
||||||
}</pre>
|
}</pre>
|
||||||
|
|||||||
Reference in New Issue
Block a user