diff --git a/doc/file.README.html b/doc/file.README.html index 6d76f10..b46d78c 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -124,7 +124,7 @@
through Foreman:
-In order to apply parameters through Foreman, confdroid_nagios::params must be added to the host or host group in question.
+In order to apply parameters through Foreman, *confdroid_nagios::params- must be added to the host or host group in question.
See more details about class deployment on Confdroid.com.
@@ -140,7 +140,7 @@OS: Rocky 9
Puppet 8
+Puppet 7 # Puppet does not support Nagios in Puppet 8 anymore, although it still works
through Foreman:
-In order to apply parameters through Foreman, confdroid_nagios::params must be added to the host or host group in question.
+In order to apply parameters through Foreman, *confdroid_nagios::params- must be added to the host or host group in question.
See more details about class deployment on Confdroid.com.
@@ -140,7 +140,7 @@OS: Rocky 9
Puppet 8
+Puppet 7 # Puppet does not support Nagios in Puppet 8 anymore, although it still works
# File 'manifests/main/user.pp', line 6
@@ -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 => 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],
+ }
}
}