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

Unable to override databag attributes #239

Closed
vpack opened this issue Nov 19, 2015 · 3 comments
Closed

Unable to override databag attributes #239

vpack opened this issue Nov 19, 2015 · 3 comments
Assignees
Milestone

Comments

@vpack
Copy link

vpack commented Nov 19, 2015

I tried to override the databag attributes (to use 'consul-server' databag) but it gives an error - unable to access 'consul' databag.

Here is my wrapper code:

  node.default['consul']['bag_name'] = 'consul-server'
  node.default['consul']['bag_item'] = 'secrets'

It doesn't seem to use the config from file:/attributes/default.rb either.

  default['consul']['bag_name'] = 'secrets'
  default['consul']['bag_item'] = 'consul'
@johnbellone
Copy link
Contributor

What does the wrapper cookbook look like? This should absolutely work.

@johnbellone
Copy link
Contributor

I see the issue here.

@johnbellone johnbellone added the bug label Dec 8, 2015
@johnbellone johnbellone added this to the 1.4 milestone Dec 8, 2015
@johnbellone johnbellone self-assigned this Dec 8, 2015
@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants