OP#436 add user access
This commit is contained in:
@@ -31,7 +31,8 @@
|
||||
# @param [String] ng_main_user The username for the Nagios web interface.
|
||||
# Default is 'nagios'.
|
||||
# @param [String] ng_main_password The encrypted password for the Nagios web
|
||||
# interface. Default is 'nagios'.
|
||||
# interface. Default is 'nagios'. Must be properly encrypted using the
|
||||
# htpasswd utility.
|
||||
###############################################################################
|
||||
class confdroid_nagios::params (
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ class confdroid_nagios::server::access_rules (
|
||||
selrole => object_r,
|
||||
seltype => nagios_etc_t,
|
||||
seluser => system_u,
|
||||
notify => Service[$ng_nagios_service],
|
||||
notify => Exec['reload_httpd'],
|
||||
}
|
||||
|
||||
# manage file header
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
<%= @ng_main_user %>:<%= @ng_main_password %>
|
||||
# custom lines below
|
||||
|
||||
Reference in New Issue
Block a user