Last active
March 11, 2016 13:34
-
-
Save wildbillcat/e55416484bf77056de8b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
remote_file "Download: #{data_bag_item("deployment_shares", "vendor_media")["http"]}/Microsoft/TFS/2015/build/agent.msi" do | |
path "C:/Appstaging/agent.msi" | |
source "#{data_bag_item("deployment_shares", "vendor_media")["http"]}/Microsoft/TFS/2015/build/agent.msi" | |
action :create | |
end | |
powershell_script 'Install Visual_Studio_2015' do | |
code <<-EOH | |
msiexec /i "C:/Appstaging/agent.msi" /qn /norestart | |
EOH | |
guard_interpreter :powershell_script | |
not_if "Test-Path -Path 'C:/Program Files/Visual_Studio_Enterprise_2015_English'" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment