-
-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitlab ldap_servers #28
Comments
I'm struggling with a similar issue when trying to set up OAuth with Github. Would also appreciate a slightly more detailed example if at all possible :) |
I'm able to look into preparing a better example next week, sorry for not having time right now |
you can do something like this in your hiera configuration:
hope the indentation works |
I'm pretty sure the |
@krischblack do you know if this is correct syntax? |
@cdenneen yes, I'm currently using this in my hiera config. you can check the gitab.rb file, if it generates something like the ldap_servers parameter described here: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-config-template/gitlab.rb.template |
@krischblack I just tried to put this exactly as you showed in my YAML and no luck :( |
I have put this exact syntax in a node yaml and even my default common.yaml and it doesn't seem like it's being referenced. Has anything changed in this module that it's not doing hiera lookups anymore? |
@cdenneen when I add the code I mentioned in my previous comment to my common.yaml and check it using
In my current setup, this translates well into the /etc/gitlab/gitlab.rb in my case. Did you mind the "|" at the |
@krischblack @tobru figured it out. I had some gitlab_rails parameters in the class definition and some in hiera. |
@cdenneen if you want to enhance the init.pp or anything else, feel free to make a PR, I'm happy about every contribution. |
Tried to use common.yaml to put the gitlab::gitlab_rails ldap settings as described and they didn't work.
Not one value was populated into gitlab.rb
Is this still working as documented in README?
Also can you provide detail of how to use the puppet config where hiera doesn't work to load the ldap configuration?
The text was updated successfully, but these errors were encountered: