File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Setup my execution policy for both the 64 bit and 32 bit shells
2
+ set-executionpolicy remotesigned
3
+ start-job - runas32 {set-executionpolicy remotesigned} | receive-job - wait
4
+
5
+ # Install the latest stable ChefDK
6
+ invoke-restmethod ' https://omnitruck.chef.io/install.ps1' | iex
7
+ install-project chefdk - verbose
8
+
9
+ # Install Chocolatey
10
+ invoke-expression ((new-object net.webclient).DownloadString(' https://chocolatey.org/install.ps1' ))
11
+ choco feature enable - n allowGlobalConfirmation
12
+
13
+ # Get a basic setup recipe
14
+ invoke-restmethod ' https://gist.github.com/jasonroth/55516bd4f19adb769572d0e2886df123/raw' | out-file - encoding ascii - FilePath c:/ chef_workstation.rb
15
+
16
+ # Use Chef Apply to setup
17
+ chef- apply c:/ chef_workstation.rb
You can’t perform that action at this time.
0 commit comments