recommit for updates in build 6
This commit is contained in:
@@ -105,7 +105,11 @@
|
||||
7
|
||||
8
|
||||
9
|
||||
10</pre>
|
||||
10
|
||||
11
|
||||
12
|
||||
13
|
||||
14</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/config.pp', line 6</span>
|
||||
@@ -114,6 +118,10 @@ class puppet_cd::main::config (
|
||||
|
||||
) inherits puppet_cd::params {
|
||||
|
||||
# test
|
||||
if $facts['fqdn'] == $server_facts['servername'] {
|
||||
notify { "This is the Puppet master node": }
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -145,7 +145,11 @@
|
||||
13
|
||||
14
|
||||
15
|
||||
16</pre>
|
||||
16
|
||||
17
|
||||
18
|
||||
19
|
||||
20</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 6</span>
|
||||
@@ -157,6 +161,10 @@ class puppet_cd::params (
|
||||
|
||||
) {
|
||||
|
||||
#
|
||||
|
||||
$fqdn = $servername
|
||||
|
||||
# includes must be last
|
||||
include puppet_cd::main::config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user