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'