jtimberman’s blog · May 30, 2015
Quick Tip: Stubbing Library Helpers in ChefSpec
0Sign in to vote or save
This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
I’m currently updating my vagrant cookbook, and adding ChefSpec coverage. Each of the different platform recipes results in slightly different resources to download the package file and install it. To support this, I have helper methods that calculate the download URI, the package name, and the SHA256 checksum based on the version of Vagrant (node['vagrant']['version']), and the platform…
Read on /blog/2015/05/30/quick-tip-stubbing-library-helpers-in-chefspec ↗
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.