Fix issue with LDAP protocol radio button
This patch modifies the label of the radio button used for selecting
the LDAP protocol to make it unique across all the StackLight plugins.
Change-Id: I9fff175af82a5e6bab8666fa5f8c8f1b64926b0c
Partial-Bug: #1599778
(cherry picked from commit 57e43e3a0a
)
This commit is contained in:
parent
37c3edf70a
commit
e02a272b9d
|
@ -71,7 +71,7 @@ $influxdb_port = hiera('lma::influxdb::influxdb_port', 8086)
|
|||
$password = $plugin['nagios_password']
|
||||
|
||||
$ldap_enabled = $plugin['ldap_enabled'] or false
|
||||
$ldap_protocol = $plugin['ldap_protocol']
|
||||
$ldap_protocol = $plugin['ldap_protocol_for_nagios']
|
||||
$ldap_servers = split($plugin['ldap_servers'], '\s+')
|
||||
$ldap_bind_dn = $plugin['ldap_bind_dn']
|
||||
$ldap_bind_password = $plugin['ldap_bind_password']
|
||||
|
|
|
@ -137,7 +137,7 @@ attributes:
|
|||
weight: 100
|
||||
type: "checkbox"
|
||||
|
||||
ldap_protocol:
|
||||
ldap_protocol_for_nagios:
|
||||
type: "radio"
|
||||
value: 'ldap'
|
||||
weight: 110
|
||||
|
|
Loading…
Reference in New Issue