diff --git a/manifests/main/user.pp b/manifests/main/user.pp index 3da0fbb..90c9b48 100644 --- a/manifests/main/user.pp +++ b/manifests/main/user.pp @@ -22,11 +22,11 @@ class confdroid_nagios::main::user ( allowdupe => false, comment => $ng_u_comment, uid => $ng_u_uid, - gid => $ng_user, + gid => $ng_u_uid, groups => $ng_u_groups, managehome => true, - home => $ng_user_home, - shell => $ng_user_shell, + home => $ng_u_home, + shell => $ng_u_shell, require => Group[$ng_user], } } diff --git a/manifests/params.pp b/manifests/params.pp index 3f6cbbc..31c5826 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -18,7 +18,7 @@ # is 'Nagios User'. # @param [String] ng_u_groups The group(s) to which the Nagios user should be added. Default is 'nagios'. # @param [String] ng_u_shell The login shell for the Nagios user. Default is '/sbin/nologin'. -# @param [String] ng_user_home The home directory for the Nagios user. Default is '/home/nagios'. +# @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. ############################################################################### class confdroid_nagios::params ( @@ -34,7 +34,7 @@ class confdroid_nagios::params ( String $ng_u_comment = 'Nagios User', String $ng_u_groups = 'nagios', String $ng_u_shell = '/sbin/nologin', - String $ng_user_home = '/home/nagios', + String $ng_u_home = '/home/nagios', Integer $ng_u_uid = 1004, ) {