Skip to content

Instantly share code, notes, and snippets.

@ncjohnson
ncjohnson / .kitchen.yml.example
Created October 13, 2017 18:29
.kitchen.yml example with box file
---
driver:
name: vagrant
provisioner:
name: chef_zero
verifier:
name: inspec
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
| Number | IP | | | | | |
|--------|----------------|---|---|---|---|---|
| 1 | 34.201.100.204 | | | | | |
| 2 | 34.201.147.82 | | | | | |
| 3 | 34.201.151.179 | | | | | |
| 4 | 34.202.235.77 | | | | | |
| 5 | 34.203.224.37 | | | | | |
| 6 | 34.204.13.198 | | | | | |
| 7 | 34.204.42.149 | | | | | |
| 8 | 34.207.183.68 | | | | | |
@ncjohnson
ncjohnson / macos_workstation_setup_chef.md
Last active April 11, 2017 06:35
Mac Workstation Configuration
@ncjohnson
ncjohnson / chef-dsc.txt
Created September 24, 2016 19:38
Chef + PowerShellDSC
How do Chef and DSC work together?
- dsc_script
- A resource that allows you to create a configuration and embed that inside of your Chef recipe.
- Point to external file with the DSC configuration
- Embed a snippet of DSC syntax
- WMF4+
- Creates a configuration function and applies it via the LCM

Local Development Setup for Chef

Install git

Linux: sudo yum install git Mac: Download Windows: Download

  • posh-git: A set of PowerShell scripts that provide Git/PowerShell integration
  • Download posh-git