adding dirs

This commit is contained in:
Arne Teuke
2017-07-28 18:06:39 +01:00
parent c4c512987a
commit fff6edf496
2 changed files with 8 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ class cd_nrpe::main::service (
require cd_nrpe::firewall::iptables require cd_nrpe::firewall::iptables
} }
require cd_nrpe::main::user require cd_nrpe::main::dirs
service { $ne_service: service { $ne_service:
ensure => running, ensure => running,

View File

@@ -43,7 +43,7 @@
# of the form $(...). # of the form $(...).
# @param [boolean] ne_allow_sudo Whether to allow sudo access. used in nrpe.cfg # @param [boolean] ne_allow_sudo Whether to allow sudo access. used in nrpe.cfg
# as well as for creating a sudo role. # 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. # user-defined string.
# @param [string] ne_incl_fw Whether to include firewall rules # @param [string] ne_incl_fw Whether to include firewall rules
# @param [string] ne_command_timeout maximum number of seconds that the NRPE # @param [string] ne_command_timeout maximum number of seconds that the NRPE
@@ -82,10 +82,14 @@
# be passed to the NRPE daemon. # be passed to the NRPE daemon.
# @param [string] ne_include_file include definitions from an external # @param [string] ne_include_file include definitions from an external
# config file. # config file.
# @param [string] ne_include_dir
# @param [string] ne_fw_order_no ordering prefix for he firewall rules. Adjust # @param [string] ne_fw_order_no ordering prefix for he firewall rules. Adjust
# to your environment if needed. # to your environment if needed.
# @param [string] ne_ssl_opts Specify additional SSL options. # @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 ( class cd_nrpe::params (