Skip to content

Commit

Permalink
Fix lint errors in ldap_user_dn_example parameter
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Colleen Murphy committed Dec 18, 2014
1 parent ac046ee commit 3bb4d15
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@
$stomp_ensure = false
$ldap_auth = false
$ldap_server = 'ldap'
# lint:ignore:variable_scope
$ldap_user_dn_pattern = "cn=${username},ou=People,dc=example,dc=com"
# lint:endignore
$ldap_user_dn_pattern = 'cn=username,ou=People,dc=example,dc=com'
$ldap_use_ssl = false
$ldap_port = '389'
$ldap_log = false
Expand Down

0 comments on commit 3bb4d15

Please sign in to comment.