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 · 2 comments

Comments

Projects
None yet
2 participants
@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

This comment has been minimized.

Copy link
Contributor

johnbellone commented Nov 20, 2015

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

@johnbellone

This comment has been minimized.

Copy link
Contributor

johnbellone commented Dec 8, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.