Well, the whole point of asserting
against a template was to sanity check the content, so I don't see
how that is bad. Of course, given the provider changes to file,
rather than template, I should expect it to fail.
I did figure out the custom_matcher thanks to your clue, and the example here: https://github.com/sethvargo/chefspec/tree/master/examples/custom_matcher For others, who are curious about doing this. Would the ideal scenario be shipping this custom_matcher with the parent LWRP cookbook for children consumers of that LWRP? Or should that custom matcher be redefined in each child cookbook that consumes a given LWRP? Eric G. Wolfe Senior Linux Administrator, IT Infrastructure Systems -------------------------------------- Marshall University Computing Services Drinko Library 428-K One John Marshall Dr. Huntington, WV 25755 Phone: 304.942.3970 Email: "> QOTD: "I'm not really for apathy, but I'm not against it either..."On 01/01/2014 04:44 AM, Ranjib Dey wrote: " type="cite"> |
Archive powered by MHonArc 2.6.16.