Skip to content

Instantly share code, notes, and snippets.

KITCHEN SETUP:
https://learn.chef.io/modules/local-development/windows/hyper-v/get-set-up#/
1. Enabled Hyper-V (requires reboot)
a. Control Panel --> Programs and Features --> Turn Windows Features on or off
b. Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
2. Downloaded and installed Git (already installed with ChefDK?)
*Not required for Kitchen
3. Downloaded and installed Vagrant (requires reboot)
4. Installed Vagrant winRm Plugin
vagrant plugin install vagrant-winrm
@paul1994
paul1994 / cheat_sheet.rb
Created August 8, 2019 17:21
cheat sheet
## Cheat sheet
# Chef Commands
chef generate cookbook cookbooks/<cookbook>
chef generate recipe cookbooks/<cookbook> <recipe>
chef generate template cookbooks/<cookbook> <template>
chef generate attribute cookbooks/<cookbook> <attribute>
# Chef Client
chef-client --local-mode --runlist "recipe[<cookbook>::<recipe>"
# policyfiles
@paul1994
paul1994 / boxstarttest
Created December 8, 2016 00:00
my boxstarter test scripts
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
cinst fiddler4
cinst git-credential-winstore
cinst console-devel
cinst atom
cinst poshgit
cinst dotpeek
cinst sysinternals