Skip to content

Instantly share code, notes, and snippets.

@russellseymour
Created June 14, 2016 16:36
Show Gist options
  • Save russellseymour/1f68c265acd97e2648d76efef49d941e to your computer and use it in GitHub Desktop.
Save russellseymour/1f68c265acd97e2648d76efef49d941e to your computer and use it in GitHub Desktop.
include_recipe 'chocolatey'
home = Dir.home
%W(
#{home}/.chef
#{home}/.chef/trusted_certs
#{home}/.ssh
).each do |directory|
directory directory
end
%w(
cmder
conemu
googlechrome
visualstudiocode
git
gitextensions
git-credential-manager-for-windows
poshgit
slack
).each do |pkg|
chocolatey pkg
end
cookbook_file "#{home}/Desktop/START DEMO.bat" do
source 'start-demo.bat'
action :create
end
include_recipe 'cad-workstation::chrome'
include_recipe 'cad-workstation::psreadline'
# PowerShell AllUsersAllHosts profile
profile = "#{home}/Documents/WindowsPowerShell/Microsoft.PowerShell_profile.ps1"
template profile do
source 'ise_profile.ps1.erb'
variables(
user: ENV['USERNAME']
)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment