From bc3eb4214cb8ea74ec6359ce64dcda282077042c Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Sun, 1 Mar 2026 16:56:21 +0100 Subject: [PATCH] OP#436 add variable --- manifests/params.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 0a0aa63..c3c4215 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -109,6 +109,7 @@ class confdroid_nagios::params ( String $ng_main_user = 'nagios', String $ng_main_password = 'nagios', String $ng_max_check_attempts = '10', + # contact groups String $ng_contactgroup_name = 'admins', String $ng_contactgroup_alias = 'Nagios Administrators', @@ -236,8 +237,11 @@ class confdroid_nagios::params ( $ng_htpasswd_file = "${ng_main_dir}/passwd" $ng_htpasswd_head = 'confdroid_nagios/nagios/htpasswd_head.erb' $ng_htpasswd_rule = 'confdroid_nagios/nagios/htpasswd_rule.erb' - $ng_resource_file = '/etc/nagios/private/resource.cfg' + $ng_resource_file = "${ng_private_dir}/resource.cfg" $ng_resource_erb = 'confdroid_nagios/nagios/resource_cfg.erb' + $ng_object_cache_file = "${ng_spool_dir}/objects.cache" + $ng_precached_obj_file = "${ng_spool_dir}/objects.precache" + $ng_status_file = "${ng_log_dir}/status.dat" ## old $ng_taccgi_erb = 'confdroid_nagios/selinux/taccgi.erb'