Sha256: 8906082a5dee877eff356a7e4893222e812954205cba5fd52cf93106089b8b14

Contents?: true

Size: 556 Bytes

Versions: 5

Compression:

Stored size: 556 Bytes

Contents

# Powershell supports only TLS 1.0 by default. Add support for TLS 1.2
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls12'

# Define script root for PowerShell 2.0
$ScriptRoot = Split-Path $script:MyInvocation.MyCommand.Path

# Download the upstream bootstrap script
(New-Object System.Net.WebClient).DownloadFile('https://winbootstrap.saltproject.io', "${ScriptRoot}\bootstrap_salt_upstream.ps1")

# Run the upstream bootstrap script with passthrough arguments
& "${ScriptRoot}\bootstrap_salt_upstream.ps1" @args

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vagrant-unbundled-2.3.6.0 plugins/provisioners/salt/bootstrap-salt.ps1
vagrant-unbundled-2.3.3.0 plugins/provisioners/salt/bootstrap-salt.ps1
vagrant-unbundled-2.3.2.0 plugins/provisioners/salt/bootstrap-salt.ps1
vagrant-unbundled-2.2.19.0 plugins/provisioners/salt/bootstrap-salt.ps1
vagrant-unbundled-2.2.18.0 plugins/provisioners/salt/bootstrap-salt.ps1