Skip to content

Instantly share code, notes, and snippets.

@ericr3r
Last active December 22, 2015 18:59
Show Gist options
  • Save ericr3r/6516684 to your computer and use it in GitHub Desktop.
Save ericr3r/6516684 to your computer and use it in GitHub Desktop.
Chef Infrastructure Automation Cookbook errata
* What page in the book does this errata appear?: 26
Please describe the errata.:
Step 5 create the Berksfile using the command "mma@laptop:~/chef-repo $ subl Berksfile" instead of
"mma@laptop:~/chef-repo $ subl cookbooks/my_cookbook/Berksfile".
* What page in the book does this errata appear?: Page 63
Please describe the errata.:
Step 7, Create the template file has "mma@laptop:~/chef-repo $ subl cookbooks/my_cookbook/recipes/default.rb" instead of "mma@laptop:~/chef-repo $ subl cookbooks/my_cookbook/templates/default/greeting.txt.erb"
* What page in the book does this errata appear?: Page 62
On page 62, step 4, the "let" helper method is called with converge(described_recipe). The convergence should be called from within the "it" method to allow the additional "it" method on page 65 to override the greeting attribute.
The finalized spec should look something like https://gist.github.com/erauer/6633275
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment