Skip to content

A simple chef cookbook and policy file to automate the intallation of my macbook pro

Notifications You must be signed in to change notification settings

willejs/chef-workstation

Repository files navigation

workstation

This cookbook configures and installs all software needed on my workstation. I made it because I got a new laptop, and im lazy and dont want to have to click through a bunch of dialogue boxes, but also wanted to try out chef policies.

How To

Install chefdk

Download Page

Build your policyfile lockfile

Vendor all of your dependent cookbooks

chef update

Export the policy file

This will create a client.rb for chef zero too

chef export Policyfile.rb ./.vendor

Run chef!

sudo chef-client -z -c .vendor/.chef/client.rb

Run Tests

Run testkitchen

kitchen verify

About

A simple chef cookbook and policy file to automate the intallation of my macbook pro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages