This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
Enable-RemoteDesktop | |
cinst fiddler4 | |
cinst git-credential-winstore | |
cinst console-devel | |
cinst atom | |
cinst poshgit | |
cinst dotpeek | |
cinst sysinternals |