Recommit for updates in build 9
This commit is contained in:
@@ -124,7 +124,7 @@
|
|||||||
<p>through Foreman:</p>
|
<p>through Foreman:</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<p>In order to apply parameters through Foreman, <strong>confdroid_nagios::params</strong> must be added to the host or host group in question.</p>
|
<p>In order to apply parameters through Foreman, *<strong><em>confdroid_nagios::params</em></strong>- must be added to the host or host group in question.</p>
|
||||||
|
|
||||||
<p>See <a href="https://confdroid.com/2017/05/deploying-our-puppet-modules/">more details about class deployment on Confdroid.com</a>.</p>
|
<p>See <a href="https://confdroid.com/2017/05/deploying-our-puppet-modules/">more details about class deployment on Confdroid.com</a>.</p>
|
||||||
|
|
||||||
@@ -140,7 +140,7 @@
|
|||||||
<ul><li>
|
<ul><li>
|
||||||
<p>OS: Rocky 9</p>
|
<p>OS: Rocky 9</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p>Puppet 8</p>
|
<p>Puppet 7 # Puppet does not support Nagios in Puppet 8 anymore, although it still works</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<h2 id="label-Tests">Tests</h2>
|
<h2 id="label-Tests">Tests</h2>
|
||||||
|
|||||||
@@ -124,7 +124,7 @@
|
|||||||
<p>through Foreman:</p>
|
<p>through Foreman:</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<p>In order to apply parameters through Foreman, <strong>confdroid_nagios::params</strong> must be added to the host or host group in question.</p>
|
<p>In order to apply parameters through Foreman, *<strong><em>confdroid_nagios::params</em></strong>- must be added to the host or host group in question.</p>
|
||||||
|
|
||||||
<p>See <a href="https://confdroid.com/2017/05/deploying-our-puppet-modules/">more details about class deployment on Confdroid.com</a>.</p>
|
<p>See <a href="https://confdroid.com/2017/05/deploying-our-puppet-modules/">more details about class deployment on Confdroid.com</a>.</p>
|
||||||
|
|
||||||
@@ -140,7 +140,7 @@
|
|||||||
<ul><li>
|
<ul><li>
|
||||||
<p>OS: Rocky 9</p>
|
<p>OS: Rocky 9</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p>Puppet 8</p>
|
<p>Puppet 7 # Puppet does not support Nagios in Puppet 8 anymore, although it still works</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<h2 id="label-Tests">Tests</h2>
|
<h2 id="label-Tests">Tests</h2>
|
||||||
|
|||||||
@@ -108,7 +108,27 @@
|
|||||||
10
|
10
|
||||||
11
|
11
|
||||||
12
|
12
|
||||||
13</pre>
|
13
|
||||||
|
14
|
||||||
|
15
|
||||||
|
16
|
||||||
|
17
|
||||||
|
18
|
||||||
|
19
|
||||||
|
20
|
||||||
|
21
|
||||||
|
22
|
||||||
|
23
|
||||||
|
24
|
||||||
|
25
|
||||||
|
26
|
||||||
|
27
|
||||||
|
28
|
||||||
|
29
|
||||||
|
30
|
||||||
|
31
|
||||||
|
32
|
||||||
|
33</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/main/user.pp', line 6</span>
|
<pre class="code"><span class="info file"># File 'manifests/main/user.pp', line 6</span>
|
||||||
@@ -118,7 +138,27 @@ class confdroid_nagios::main::user (
|
|||||||
) inherits confdroid_nagios::params {
|
) inherits confdroid_nagios::params {
|
||||||
if $ng_nagios_server == $fqdn {
|
if $ng_nagios_server == $fqdn {
|
||||||
require confdroid_nagios::main::install
|
require confdroid_nagios::main::install
|
||||||
#config here
|
|
||||||
|
group { $ng_user:
|
||||||
|
ensure => present,
|
||||||
|
name => $ng_user,
|
||||||
|
gid => $ng_u_uid,
|
||||||
|
allowdupe => false,
|
||||||
|
}
|
||||||
|
|
||||||
|
user { $ng_user:
|
||||||
|
ensure => present,
|
||||||
|
name => $ng_user,
|
||||||
|
allowdupe => false,
|
||||||
|
comment => $ng_u_comment,
|
||||||
|
uid => $ng_u_uid,
|
||||||
|
gid => $ng_user,
|
||||||
|
groups => $ng_u_groups,
|
||||||
|
managehome => true,
|
||||||
|
home => $ng_user_home,
|
||||||
|
shell => $ng_user_shell,
|
||||||
|
require => Group[$ng_user],
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user