OP#436 remomve UID
This commit is contained in:
@@ -12,7 +12,6 @@ class confdroid_nagios::main::user (
|
|||||||
group { $ng_user:
|
group { $ng_user:
|
||||||
ensure => present,
|
ensure => present,
|
||||||
name => $ng_user,
|
name => $ng_user,
|
||||||
gid => $ng_u_uid,
|
|
||||||
allowdupe => false,
|
allowdupe => false,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -21,8 +20,6 @@ class confdroid_nagios::main::user (
|
|||||||
name => $ng_user,
|
name => $ng_user,
|
||||||
allowdupe => false,
|
allowdupe => false,
|
||||||
comment => $ng_u_comment,
|
comment => $ng_u_comment,
|
||||||
uid => $ng_u_uid,
|
|
||||||
gid => $ng_u_uid,
|
|
||||||
groups => $ng_u_groups,
|
groups => $ng_u_groups,
|
||||||
managehome => true,
|
managehome => true,
|
||||||
home => $ng_u_home,
|
home => $ng_u_home,
|
||||||
|
|||||||
@@ -22,8 +22,6 @@
|
|||||||
# Default is '/sbin/nologin'.
|
# Default is '/sbin/nologin'.
|
||||||
# @param [String] ng_u_home The home directory for the Nagios user.
|
# @param [String] ng_u_home The home directory for the Nagios user.
|
||||||
# Default is '/home/nagios'.
|
# Default is '/home/nagios'.
|
||||||
# @param [Integer] ng_u_uid The user ID for the Nagios user.
|
|
||||||
# Default is 1004.
|
|
||||||
# @param [Boolean] ng_include_nrpe Whether to include the NRPE client on the
|
# @param [Boolean] ng_include_nrpe Whether to include the NRPE client on the
|
||||||
# Nagios clients. Default is true.
|
# Nagios clients. Default is true.
|
||||||
# @param [Boolean] ng_use_https Whether to configure the Nagios web interface
|
# @param [Boolean] ng_use_https Whether to configure the Nagios web interface
|
||||||
@@ -46,7 +44,6 @@ class confdroid_nagios::params (
|
|||||||
String $ng_u_groups = 'nagios',
|
String $ng_u_groups = 'nagios',
|
||||||
String $ng_u_shell = '/sbin/nologin',
|
String $ng_u_shell = '/sbin/nologin',
|
||||||
String $ng_u_home = '/home/nagios',
|
String $ng_u_home = '/home/nagios',
|
||||||
Integer $ng_u_uid = 1004,
|
|
||||||
|
|
||||||
# httpd
|
# httpd
|
||||||
Boolean $ng_use_https = false,
|
Boolean $ng_use_https = false,
|
||||||
|
|||||||
Reference in New Issue
Block a user