OP#436 done cgi.cfg - CMT section to be outsourced into define
This commit is contained in:
@@ -375,7 +375,7 @@
|
||||
# @param [String] ng_wrl_layout The layout for the WRL in Nagios. Default is '4'.
|
||||
# @param [Boolean] ng_incl_own_wrl Whether to include own WRL in Nagios.
|
||||
# Default is false.
|
||||
# @param [String] ng_statuswrl_include The WRL file to include in Nagios.
|
||||
# @param [String] ng_statuswrl_incl The WRL file to include in Nagios.
|
||||
# Default is empty.
|
||||
# @param [String] ng_ping_syntax The syntax for the check_ping command in Nagios.
|
||||
# Default is '/bin/ping -n -U -c 5 $HOSTADDRESS$'.
|
||||
@@ -584,15 +584,15 @@ class confdroid_nagios::params (
|
||||
String $ng_use_ssl_auth = '0',
|
||||
Boolean $ng_enable_def_user = false,
|
||||
String $ng_def_user_name = 'ChangeME',
|
||||
String $ng_sysinfo_auth = '',
|
||||
String $ng_confinfo_auth = '',
|
||||
String $ng_command_auth = '',
|
||||
String $ng_hostview_auth = '',
|
||||
String $ng_serviceview_auth = '',
|
||||
String $ng_host_cmd_auth = '',
|
||||
String $ng_svc_cmd_auth = '',
|
||||
String $ng_readonly_auth = '' ,
|
||||
String $ng_statusmap_img = '',
|
||||
Optional[String] $ng_sysinfo_auth = undef,
|
||||
Optional[String] $ng_confinfo_auth = undef,
|
||||
Optional[String] $ng_command_auth = undef,
|
||||
Optional[String] $ng_hostview_auth = undef,
|
||||
Optional[String] $ng_serviceview_auth = undef,
|
||||
Optional[String] $ng_host_cmd_auth = undef,
|
||||
Optional[String] $ng_svc_cmd_auth = undef,
|
||||
Optional[String] $ng_readonly_auth = undef,
|
||||
Optional[String] $ng_statusmap_img = undef,
|
||||
Boolean $ng_use_colormap = false,
|
||||
String $ng_colormap_red = '255',
|
||||
String $ng_colormap_green = '255',
|
||||
@@ -600,7 +600,7 @@ class confdroid_nagios::params (
|
||||
String $ng_statusmap_layout = '6',
|
||||
String $ng_wrl_layout = '4',
|
||||
Boolean $ng_incl_own_wrl = false,
|
||||
String $ng_statuswrl_include = '',
|
||||
Optional[String] $ng_statuswrl_incl = undef,
|
||||
String $ng_ping_syntax = '/bin/ping -n -U -c 5 $HOSTADDRESS$',
|
||||
String $ng_refresh_rate = '90',
|
||||
String $ng_enable_page_tour = '1',
|
||||
|
||||
@@ -50,7 +50,7 @@ default_statusmap_layout=<%= @ng_statusmap_layout%>
|
||||
default_statuswrl_layout=<%= @ng_wrl_layout %>
|
||||
|
||||
<% if @ng_incl_own_wrl == true -%>
|
||||
statuswrl_include=<%= @ng_statuswrl_include %>
|
||||
statuswrl_include=<%= @ng_statuswrl_incl %>
|
||||
<% else -%>
|
||||
#statuswrl_include=myworld.wrl
|
||||
<% end -%>
|
||||
|
||||
Reference in New Issue
Block a user