Skip to content

Instantly share code, notes, and snippets.

@ncjohnson
ncjohnson / .kitchen.yml.example
Created Oct 13, 2017
.kitchen.yml example with box file
View .kitchen.yml.example
---
driver:
name: vagrant
provisioner:
name: chef_zero
verifier:
name: inspec
View whatsmyip.csv
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 Apr 11, 2017
Mac Workstation Configuration
View macos_workstation_setup_chef.md
@ncjohnson
ncjohnson / chef-dsc.txt
Created Sep 24, 2016
Chef + PowerShellDSC
View chef-dsc.txt
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
View local_chef_dev_setup.md

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