Skip to content
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::gitlab_rails hash merge not working #66

Closed
cdenneen opened this issue Mar 14, 2016 · 3 comments
Closed

gitlab::gitlab_rails hash merge not working #66

cdenneen opened this issue Mar 14, 2016 · 3 comments

Comments

@cdenneen
Copy link

I believe the issue is how this is being read in vs actually merging the data because hiera works fine.

@cdenneen
Copy link
Author

Here is the fix:

  $gitlab_rails = hiera_hash('gitlab::gitlab_rails',$::gitlab::gitlab_rails)

@cdenneen
Copy link
Author

Reason is explained here:
https://docs.puppetlabs.com/hiera/3.0/puppet.html#limitations

cdenneen added a commit to cdenneen/puppet-gitlab that referenced this issue Mar 14, 2016
Automatic parameter lookup can't merge values from multiple hierarchy levels (https://docs.puppetlabs.com/hiera/3.0/puppet.html#limitations)

This is to fix voxpupuli#66
@tobru
Copy link
Contributor

tobru commented Mar 23, 2016

As a workaround you could create a "wrapper" module (f.e. profile_gitlab) which collects the needed information from Hiera using hiera_array() and pass it to the gitlab module...

@tobru tobru closed this as completed Jun 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants