Closed Maks3w closed 9 years ago
@tmatilai ping
I'm using dots in my data bags for ages and never had a problem. @Maks3w Where do you take it from, that dots are not allowed?
This change broke a lot of my recipes, as I just stored them using the fqdn i.e. www.example.com
@chr4 this was a bug in knife that has since been addressed. I should have researched the problem more thoroughly before merging.
I propose reverting this change.
+1 for reverting.
I didn't notice this was a "bug" on knife. I agree with revert and add some kind of note (may a wiki page named troubleshooting) with info about the error message and the way for fix it (upgrading chef or adding search_id "mydomain.com".gsub('.', '_')
)
Also this PR adds scafolding for use chefspec which is interesting to maintain and use for future test coverage
dots are not part of a valid data bag item id.
this make possible to have this.
NOTE: This PR include a rspec case for test this.
So the first commit prepare all the rspec stuf.