• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar

KJBweb

Technical Notes & How To's

  • Home
  • How-to
  • Quick Fixes
  • Examples
  • Hardware
  • Privacy
You are here: Home / Archives for Examples

Examples

Chef Knife Node Bootstrap Example Command

November 28, 2016Leave a Comment

Whilst the documentation around the knife bootstrap command is brilliant, I learn better by example/doing, so here's an example of the syntax I use when bootstrapping new nodes within my infrastructure. There are variants to this which don't use the password in the command line, and there are certainly pre-requisites that need to be satisfied before you can just go ahead and … [Read more...] about Chef Knife Node Bootstrap Example Command

Looping through Attributes within Chef Recipes

November 4, 2016Leave a Comment

In a quest to make it easier for myself and others to modify my Chef recipes, I thought it was about time I started to use attributes much more seriously than I had been doing previously. Soon enough, I needed to loop through a hash of attributes in order to make my recipe's code as clean and efficient as possible, and if you are relatively new to Chef then you might find … [Read more...] about Looping through Attributes within Chef Recipes

Primary Sidebar

Copyright © 2025 · WordPress · Log in