Skip to content

Commit 3bb4d15

Browse files
author
Colleen Murphy
committed
Fix lint errors in ldap_user_dn_example parameter
There is no $username variable anywhere in the rabbitmq module. ${username} is not a valid cn. While most likely no one was using dc=example,dc=com anyway, this patch at least changes the example value to one that lints.
1 parent ac046ee commit 3bb4d15

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

manifests/params.pp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@
7777
$stomp_ensure = false
7878
$ldap_auth = false
7979
$ldap_server = 'ldap'
80-
# lint:ignore:variable_scope
81-
$ldap_user_dn_pattern = "cn=${username},ou=People,dc=example,dc=com"
82-
# lint:endignore
80+
$ldap_user_dn_pattern = 'cn=username,ou=People,dc=example,dc=com'
8381
$ldap_use_ssl = false
8482
$ldap_port = '389'
8583
$ldap_log = false

0 commit comments

Comments
 (0)