From fff6edf496b29938c244cbf8758bcafcc3683abb Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Fri, 28 Jul 2017 18:06:39 +0100 Subject: [PATCH] adding dirs --- manifests/main/service.pp | 2 +- manifests/params.pp | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/manifests/main/service.pp b/manifests/main/service.pp index dd36bff..b56e826 100644 --- a/manifests/main/service.pp +++ b/manifests/main/service.pp @@ -28,7 +28,7 @@ class cd_nrpe::main::service ( require cd_nrpe::firewall::iptables } - require cd_nrpe::main::user + require cd_nrpe::main::dirs service { $ne_service: ensure => running, diff --git a/manifests/params.pp b/manifests/params.pp index b42c257..95269d5 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -43,7 +43,7 @@ # of the form $(...). # @param [boolean] ne_allow_sudo Whether to allow sudo access. used in nrpe.cfg # as well as for creating a sudo role. -# @param [string] command_prefix allows you to prefix all commands with a +# @param [string] ne_command_prefix allows you to prefix all commands with a # user-defined string. # @param [string] ne_incl_fw Whether to include firewall rules # @param [string] ne_command_timeout maximum number of seconds that the NRPE @@ -62,7 +62,7 @@ # 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_filepath and name of the server ssl +# @param [string] ne_ssl_privatekey_file path and name of the server ssl # private key. Must include full path. # @param [string] ne_ssl_client_certs determines client certificate usage. # Values: 0 = Don't ask for or require client certificates @@ -82,10 +82,14 @@ # be passed to the NRPE daemon. # @param [string] ne_include_file include definitions from an external # config file. -# @param [string] ne_include_dir # @param [string] ne_fw_order_no ordering prefix for he firewall rules. Adjust # to your environment if needed. # @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_home the home for the service user +# @param [string] ne_user_shell the shell for the service user. ############################################################################### class cd_nrpe::params (