Skip to content

Commit

Permalink
update documentation regarding ldap config integers
Browse files Browse the repository at this point in the history
relates to bfraser#50
  • Loading branch information
Adam Stephens committed Nov 10, 2015
1 parent 89fe873 commit 48fee9e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,25 @@ This option by itself is not sufficient to enable LDAP configuration as it must
},
```

####Integer note
Puppet may convert integers into strings while parsing the hash and converting into toml. This can be worked around by appending 0 to an integer.

Example:
```
port => 636+0,
```

Manages the Grafana LDAP configuration file. This hash is directly translated into the corresponding TOML file, allowing for full flexibility in generating the configuration.

See the [LDAP documentation](http://docs.grafana.org/v2.1/installation/ldap/) for more information.

Example:
####Example LDAP config

```
ldap_cfg => {
servers => [
{ host => 'ldapserver1.domain1.com',
port => 636+0,
use_ssl => true,
search_filter => '(sAMAccountName=%s)',
search_base_dns => [ 'dc=domain1,dc=com' ],
Expand Down

0 comments on commit 48fee9e

Please sign in to comment.