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

can't make the data_bag recipe work with my databags. #59

Closed
cyrusdavid opened this issue Apr 14, 2014 · 1 comment
Closed

can't make the data_bag recipe work with my databags. #59

cyrusdavid opened this issue Apr 14, 2014 · 1 comment

Comments

@cyrusdavid
Copy link

I have data_bags/users/cyrus.json with the following:

{
  "id": "cyrus",
  "ssh_keys":[
    "ssh-rsa ..."
  ],
  "password": "foobar"
}

Yet when I run chef:

[2014-04-14T20:51:06+08:00] WARN: Overridden Run List: [recipe[user::data_bag]]
Compiling Cookbooks...
Converging 0 resources

Running handlers:
Running handlers complete

Chef Client finished, 0/0 resources updated in 1.640126988 seconds

nothing happened. What have I missed?

@cyrusdavid
Copy link
Author

It looks like I have to add users to the JSON attribs.

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

No branches or pull requests

1 participant