Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
`.to_yaml` does not do what one would expect #8820
I have seen this issue too, though not directly the same I don't think. What I did to get around it was to first convert to_json and then convert that to_yaml. Not sure if something like this will work for you or not. Who knows, maybe we can both learn a better way to do it!
It seems that this is caused by yaml (psych) module and is not specific to Chef. Nodes attributes are instance of