Commit graph

26 commits

Author SHA1 Message Date
Bryce Larson
5dbf2973bf
move everything to point at saltproject.io urls 2021-01-21 22:49:50 +00:00
noelmcloughlin
4179e8f204
docs(windows): update for windows-py3 2020-09-11 00:18:45 +01:00
twangboy
de3dd0123e
Add support for new version scheme 2020-02-13 17:07:17 -07:00
twangboy
495464f6dd
A few fixes
Actually default to Py2 like the docs say
Allow and actual version to be passed
Handle older versions
Write-Output when starting service
2019-11-25 13:28:52 -07:00
twangboy
15968cbdf6
Use Latest instead of detecting latest
We now use symlinks that always point to latest
2019-11-25 13:00:06 -07:00
twangboy
a36c0d8f19
Add TLS support up to TLS 1.2 2019-04-12 13:56:06 -06:00
twangboy
e1cb060e65 Fix version detection, versionSection creation 2017-08-08 09:52:36 -06:00
rallytime
12c0468e52 Simplify logic: pythonVersion already defaults to "" 2017-08-08 10:37:30 -04:00
rallytime
e27dd0a167 Create a $versionSection variable for exe link
This is a little more cautious/explicit with the variables setup
in the $saltExe definition.
2017-08-08 10:32:50 -04:00
rallytime
5ed38f97af Allow powershell bootstrap script to specify PY2 or 3
This fixes the links for installing 2017.7.0 (the executor link has
changed to include a "Py2" or "Py3" section). It also allows the user
to specify if the Py2 or Py3 executor should be used. This option only
works for Salt >= 2017.7.0.

Example for Py2 (default behavior):
```
./bootstrap-salt.ps1 -pythonVersion 2
```

Example for Py3:
```
./bootstrap-salt.ps1 -pythonVersion 3
```
2017-08-08 10:22:20 -04:00
James Booth
c42f8d617e Removes faulty explicit version ordering 2017-06-11 20:41:38 +01:00
Alexander Krasnukhin
8c0bec4883 Change temporary directory for exectutable to C:\Windows\Temp
Yep, $env:temp is even better but lets change things step by
step.

This makes script inconsistent as other parts still use c:\tmp
for storing configuraiton files. I don't want to change them
as it is *very* likely users upload configuraiton files there
already using external scripts.
2016-06-30 16:57:19 +02:00
Alexander Krasnukhin
a124f33631 Keep original name of salt executable executable
It is a good idea to not rename anything and keep the original name.
Renaming to salt.exe we loose version and arch information.
2016-06-30 13:52:17 +02:00
twangboy
22d68ff496 Change to https as default 2016-06-17 16:36:48 -06:00
twangboy
f5e8919844 Add repourl option 2016-06-17 16:03:01 -06:00
twangboy
49f0a16b65 Fix parameters, escalate privelages 2016-05-25 16:02:03 -07:00
twangboy
602b9c70ec Fix regex and bad if statements 2016-05-25 14:04:44 -07:00
twangboy
7118759730 Add missing trailing back slash 2016-05-24 13:46:19 -06:00
twangboy
130e8ff170 Use installer defaults 2016-05-24 13:37:44 -06:00
Alexander Krasnukhin
2db41fd824 Code style fix
It somehow helps to not mix different flag styles in one command.
2016-05-24 13:58:29 +02:00
chiefnuts
234c7f861f Update bootstrap-salt.ps1
added fix to string split to correct for version numbers have additional hotfix revision numbers.
2016-05-06 11:05:11 -06:00
Ken Erwin
737962f4e8 Fixed script to use latest version automatically 2016-04-13 12:46:36 -04:00
Denys Havrysh
9247c942b2 Bump Salt version to latest stable in PS bootstrap script for Windows 2016-04-12 11:12:04 +03:00
Brandon Clifford
05f344c596 Update SaltStack repo location and latest version 2015-12-17 11:34:38 -07:00
Pat O'Shea
c7c1f61386 Cleaning up output from write-host
Just getting rid of new lines in output
2015-07-18 09:14:57 -06:00
Pat O'Shea
e320bcf8e0 Windows bootstrap script
This will install a minion locally on windows. Option parameters will accept version, minion id, master id, and a flag for stopping and setting the salt-minion service to manual for local testing.  Passing in a verbose flag will increase logging. Finally, help is displayed via 
man ./bootstrap-salt.ps1
help ./bootstrap-salt.ps1
2015-07-07 21:34:57 -06:00