Closed clburlison closed 7 years ago
So, between-meals allows you to specify a role-type, but GD doesn't take in this config. GD needs to get a new config which it can then pass to BetweenMeals::knife
... should be a simple change.
To be clear, it's not that "just one rb role" won't fix you - it'll never upload JSON roles... because they're essentially deprecated, but we should still allow you to specify this.
The attached PR should be sufficient.
Note that we explicitly require you to pick either RB or JSON roles, you may not have both - we do those so they can never conflict.
@jaymzh Thank you for the PR. I didn't realize that chef considered json roles deprecated since so many examples I find on the internet are shown using json.
Summary
grocery-delivery
errors on upload if at least onerb
style role isn't present in the chef repo.Details
I tried to find the code responsible for this issue but couldn't quite locate it. I have a roles directory that only contains
json
files. When I rungrocery-delivery
with this chef repo I get the following error.A simple solution is to create a
test.rb
roles with minimal contentwhich allows
grocery-delivery
to finish successfully. However it would be great if the aboverb
role limitation was removed.