Closed bknowles closed 6 years ago
@bknowles I haven't been able to replicate this issue on blank nodes. What version of ruby, chef & knife is this happening with?
That was probably with Ruby 1.8.7 and chef-client 11.8.something. I've since upgraded to Ruby 2.0.0-something, so I should give that another try.
Thanks for the reminder!
@bknowles thanks, let me know how it goes!
@bknowles just chasing up old issues - did upgrading to Ruby 2.0 solve this?
So, testing this plugin with a node that has been newly created but has not yet completed a chef-client run, it looks like the code is looking for recipes to validate as being in the target environment and if the node does not currently have any recipes, then knife flip will bomb out:
Exception: NoMethodError: Undefined method or attribute
recipes' on
node'