Recommit for updates in build 9

This commit is contained in:
2026-02-12 16:50:43 +01:00
parent 8048857969
commit 2f5690f342
3 changed files with 46 additions and 6 deletions

View File

@@ -108,7 +108,27 @@
10
11
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>
<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 {
if $ng_nagios_server == $fqdn {
require confdroid_nagios::main::install
#config here
group { $ng_user:
ensure =&gt; present,
name =&gt; $ng_user,
gid =&gt; $ng_u_uid,
allowdupe =&gt; false,
}
user { $ng_user:
ensure =&gt; present,
name =&gt; $ng_user,
allowdupe =&gt; false,
comment =&gt; $ng_u_comment,
uid =&gt; $ng_u_uid,
gid =&gt; $ng_user,
groups =&gt; $ng_u_groups,
managehome =&gt; true,
home =&gt; $ng_user_home,
shell =&gt; $ng_user_shell,
require =&gt; Group[$ng_user],
}
}
}</pre>
</td>