3
0

recommit for updates in build 20

This commit is contained in:
2025-02-26 01:04:07 +01:00
parent e0f83d35f0
commit 6c3d1d6b3a
2 changed files with 7 additions and 15 deletions

View File

@@ -123,11 +123,7 @@
25
26
27
28
29
30
31
32</pre>
28</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/main/config.pp', line 6</span>
@@ -136,14 +132,10 @@ class puppet_cd::main::config (
) inherits puppet_cd::params {
# test
# Debug all facts
#notify { &quot;All facts: ${facts} &quot;: }
#if $facts[&#39;fqdn&#39;] == $server_facts[&#39;servername&#39;] {
# notify { &quot;This is the Puppet master node&quot;: }
#}
if $facts[&#39;fqdn&#39;] == $server_facts[&#39;servername&#39;] {
notify { &quot;This is the Puppet master node&quot;: }
}
#if $fqdn == $pt_puppetmaster {
# notify {&quot;Me Puppetmasster&quot;:}
@@ -156,7 +148,7 @@ class puppet_cd::main::config (
# Notify the node&#39;s FQDN
#notify { &quot;This node&#39;s FQDN is ${facts[&#39;fqdn&#39;]}&quot;: }
notify { &quot; FQDN is $fqdn&quot;: }
notify { &quot; FQDN is ${fqdn}&quot;: }
}</pre>
</td>

View File

@@ -119,7 +119,7 @@
<span class='type'>(<tt>Any</tt>)</span>
<em class="default">(defaults to: <tt>&#39;client001.studydivision.local&#39;</tt>)</em>
<em class="default">(defaults to: <tt>undef</tt>)</em>
</li>
@@ -157,7 +157,7 @@
class puppet_cd::params (
$pt_manage_fw = true,
$pt_puppetmaster = &#39;client001.studydivision.local&#39;,
$pt_puppetmaster = undef,
) {