Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Setting LDAP configurations #38

Open
cstewart87 opened this issue Sep 24, 2014 · 3 comments
Open

Setting LDAP configurations #38

cstewart87 opened this issue Sep 24, 2014 · 3 comments
Labels

Comments

@cstewart87
Copy link

Are LDAP configurations something that can be handled by Chef? I'm having troubles determining how those are persisted. Is that information in the database, or in a configuration file located on the server?

@bflad
Copy link
Owner

bflad commented Oct 6, 2014

I'm fairly confident that its stored in the database. How deep are you looking to manage the configuration? Just the server/attribute properties or users/permissions as well? Let me poke around the database to see how difficult either would be.

@bflad
Copy link
Owner

bflad commented Oct 6, 2014

I'd imagine they can set in here:

mysql> use stash;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> select * from app_property;
+---------------+----------------------------------------------+
| prop_key      | prop_value                                   |
+---------------+----------------------------------------------+
| instance.home | /var/atlassian/application-data/stash/shared |
| instance.name | Stash                                        |
| server.id     | XXXX-XXXX-XXXX-XXXX                          |
+---------------+----------------------------------------------+
3 rows in set (0.00 sec)

It's not pretty, but theoretically it would be possible to do something like this: https://github.com/bflad/chef-cacti/blob/master/recipes/database.rb#L60-L90

Hopefully someone's come up with a better way to ensure a database value is updated for multiple databases.

@bflad
Copy link
Owner

bflad commented Jan 24, 2015

@cstewart87 any luck diving into this more?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants