From 6ae7e881a960237b24dfd79977a50b51f8eb3a78 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Sun, 30 Jul 2017 13:32:50 +0100 Subject: [PATCH] fixed permissions on command.cfg file --- manifests/commands/definition_rules.pp | 4 ++-- manifests/params.pp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/commands/definition_rules.pp b/manifests/commands/definition_rules.pp index 9bdaed1..a787677 100644 --- a/manifests/commands/definition_rules.pp +++ b/manifests/commands/definition_rules.pp @@ -37,8 +37,8 @@ class cd_nrpe::commands::definition_rules ( concat { $ne_cmd_file: ensure => present, path => $ne_cmd_file, - owner => 'root', - group => 'root', + owner => $ne_user, + group => $ne_user, mode => '0640', selrange => s0, selrole => object_r, diff --git a/manifests/params.pp b/manifests/params.pp index ae5ae94..06d7c29 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -59,7 +59,7 @@ # compatibility, this defaults to 'ssl_cipher_list=ALL:!MD5:@STRENGTH' in # this version but will be changed in a later version of NRPE. # @param [string] ne_ssl_cacert_file path and name of the ssl certificate -# authority ( ca) file / chain. must be full path. +# authority (ca) file / chain. must be full path. # @param [string] ne_ssl_cert_file path and name of the server ssl certificate. # must include full path. # @param [string] ne_ssl_privatekey_file path and name of the server ssl @@ -87,7 +87,7 @@ # @param [string] ne_ssl_opts Specify additional SSL options. # @param [string] ne_user the NRPE service user # @param [string] ne_user_comment The comment for the service user /etc/passwd -# @param [string] ne_user_uid the UID for the service user +# @param [string] ne_user_uid the UID for the service user # @param [string] ne_user_home the home for the service user # @param [string] ne_user_shell the shell for the service user. # @param [string] ne_user_groups additional groups for the service user.