From 7b5d7c57ae7ce5dbf5e495ebbca6e4114ed2270c Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Sat, 14 Feb 2026 19:52:18 +0100 Subject: [PATCH] OP#436 remomve UID --- manifests/main/user.pp | 3 --- manifests/params.pp | 3 --- 2 files changed, 6 deletions(-) diff --git a/manifests/main/user.pp b/manifests/main/user.pp index 67fff0b..9aaf9d6 100644 --- a/manifests/main/user.pp +++ b/manifests/main/user.pp @@ -12,7 +12,6 @@ class confdroid_nagios::main::user ( group { $ng_user: ensure => present, name => $ng_user, - gid => $ng_u_uid, allowdupe => false, } @@ -21,8 +20,6 @@ class confdroid_nagios::main::user ( name => $ng_user, allowdupe => false, comment => $ng_u_comment, - uid => $ng_u_uid, - gid => $ng_u_uid, groups => $ng_u_groups, managehome => true, home => $ng_u_home, diff --git a/manifests/params.pp b/manifests/params.pp index 6647bec..020ad6c 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -22,8 +22,6 @@ # Default is '/sbin/nologin'. # @param [String] ng_u_home The home directory for the Nagios user. # 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 # Nagios clients. Default is true. # @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_shell = '/sbin/nologin', String $ng_u_home = '/home/nagios', - Integer $ng_u_uid = 1004, # httpd Boolean $ng_use_https = false,