Update SaltStack provision to https
This changes the SaltStack bootstrap URL to use the HTTPS link from the commercial site. Alternatives are the HTTPS link to the raw file on GitHub, but this, whilst more transparent, might break down the line.
This commit is contained in:
parent
6ca0a2b361
commit
86fb46ab0a
|
@ -108,7 +108,7 @@ func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error {
|
||||||
ui.Say("Provisioning with Salt...")
|
ui.Say("Provisioning with Salt...")
|
||||||
if !p.config.SkipBootstrap {
|
if !p.config.SkipBootstrap {
|
||||||
cmd := &packer.RemoteCmd{
|
cmd := &packer.RemoteCmd{
|
||||||
Command: fmt.Sprintf("wget -O - http://bootstrap.saltstack.org | sudo sh -s %s", p.config.BootstrapArgs),
|
Command: fmt.Sprintf("wget -O - https://bootstrap.saltstack.com | sudo sh -s %s", p.config.BootstrapArgs),
|
||||||
}
|
}
|
||||||
ui.Message(fmt.Sprintf("Installing Salt with command %s", cmd))
|
ui.Message(fmt.Sprintf("Installing Salt with command %s", cmd))
|
||||||
if err = cmd.StartWithUi(comm, ui); err != nil {
|
if err = cmd.StartWithUi(comm, ui); err != nil {
|
||||||
|
|
Loading…
Reference in New Issue