diff --git a/manifests/commands/definitions.pp b/manifests/commands/definitions.pp index 7834831..a34327b 100644 --- a/manifests/commands/definitions.pp +++ b/manifests/commands/definitions.pp @@ -22,6 +22,9 @@ ############################################################################### define cd_nrpe::commands::definitions ( + ) { - + + + } diff --git a/templates/nrpe_cfg_head.erb b/templates/nrpe_cfg_head.erb index 8b4d6eb..9078b0d 100644 --- a/templates/nrpe_cfg_head.erb +++ b/templates/nrpe_cfg_head.erb @@ -8,9 +8,9 @@ log_facility=<%= @ne_log_facility %> -<% unless @ne_log_file.empty? %> +<% unless @ne_log_file.empty? -%> log_file=<%= @ne_log_file %> -<% end %> +<% end -%> debug=<%= @ne_debug %> @@ -27,9 +27,9 @@ allowed_hosts=127.0.0.1,::1,<%= @ne_nagios_server %> dont_blame_nrpe=<%= @ne_dont_blame_nrpe %> allow_bash_command_substitution=<%= @ne_allow_bash_cmd_subst %> -<%= if @$ne_allow_sudo == true %> +<%= if @ne_allow_sudo == true -%> command_prefix=<%= @ne_command_prefix %> -<% end %> +<% end -%> command_timeout=<%= @ne_command_timeout %> connection_timeout=<%= @ne_connection_timeout %>