recommit for updates in build 3
This commit is contained in:
@@ -105,7 +105,9 @@
|
|||||||
7
|
7
|
||||||
8
|
8
|
||||||
9
|
9
|
||||||
10</pre>
|
10
|
||||||
|
11
|
||||||
|
12</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/main/config.pp', line 6</span>
|
<pre class="code"><span class="info file"># File 'manifests/main/config.pp', line 6</span>
|
||||||
@@ -113,7 +115,9 @@
|
|||||||
class jenkins_cd::main::config (
|
class jenkins_cd::main::config (
|
||||||
|
|
||||||
) inherits jenkins_cd::params {
|
) inherits jenkins_cd::params {
|
||||||
include jenkins_cd::main::install
|
if $fqdn == $js_host_fqdn {
|
||||||
|
include jenkins_cd::main::install
|
||||||
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -138,6 +138,19 @@
|
|||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>js_host_fqdn</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'jenkins.example.net'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
@@ -168,16 +181,22 @@
|
|||||||
24
|
24
|
||||||
25
|
25
|
||||||
26
|
26
|
||||||
27</pre>
|
27
|
||||||
|
28
|
||||||
|
29
|
||||||
|
30</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 8</span>
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 8</span>
|
||||||
|
|
||||||
class jenkins_cd::params (
|
class jenkins_cd::params (
|
||||||
|
|
||||||
Array $reqpackages = ['jenkins','fontconfig'],
|
Array $reqpackages = ['jenkins','fontconfig'],
|
||||||
String $pkg_ensure = 'latest',
|
String $pkg_ensure = 'latest',
|
||||||
|
|
||||||
|
# server fqdn
|
||||||
|
String $js_host_fqdn = 'jenkins.example.net',
|
||||||
|
|
||||||
) {
|
) {
|
||||||
# facts
|
# facts
|
||||||
$fqdn = $facts['networking']['fqdn']
|
$fqdn = $facts['networking']['fqdn']
|
||||||
|
|||||||
Reference in New Issue
Block a user