Update cookbook_versions with an awk one-liner
23 Mar 2012Sometimes it’s the simplest things that remind me why I love the classic unix tools. Here’s a quick way to fill in cookbook_versions for a chef environment using awk.
Of course, this is a ridiculously simple usage of awk. There’s plenty more that can be done with just a single line of awk.