OP#436 add negios section resources

This commit is contained in:
2026-02-28 16:16:59 +01:00
parent 0ac4426bd6
commit c5a28ee036
6 changed files with 84 additions and 3 deletions

View File

@@ -113,6 +113,8 @@ 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_erb = 'confdroid_nagios/nagios/resource_cfg.erb'
## old
$ng_main_config = "${ng_main_dir}/nagios.cfg"
@@ -136,7 +138,6 @@ class confdroid_nagios::params (
$ng_index_html_erb = 'confdroid_nagios/httpd/index_html.erb'
$ng_ssl_vhost_file = '/etc/httpd/conf.d/nagios_ssl.conf'
$ng_ssl_vhost_erb = 'confdroid_nagios/httpd/nagios_ssl_vhost.erb'
$ng_resource_erb = 'confdroid_nagios/nagios/resource_cfg.erb'
$ng_grep_erb = 'confdroid_nagios/selinux/grep.erb'
# includes must be last