Skip to content

Instantly share code, notes, and snippets.

@DBLaw
Created August 6, 2013 12:07
Show Gist options
  • Select an option

  • Save DBLaw/6163920 to your computer and use it in GitHub Desktop.

Select an option

Save DBLaw/6163920 to your computer and use it in GitHub Desktop.
powershell "ensure-dir" do
code <<-EOH
if (-not (test-path c:/applications)) {
mkdir c:/applications
}
EOH
end
remote_file "c:/applications/boundary.msi" do
source "https://windows-staging.boundary.com/bprobe-current.msi"
end
execute "boundary" do
command "msiexec /l*v c:/applications/bprobe.log /qn /i c:/applications/boundary.msi SECURITYTOKEN=YOUR_ORG_ID:YOUR_API_KEY"
creates "c:/applications/bprobe.log"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment