Skip to content

Commit ec6e9bf

Browse files
author
Nicole Thomas
authored
Merge pull request #1132 from rallytime/merge-stable
[stable] Merge forward from develop to stable for next release
2 parents d226809 + 6b2658f commit ec6e9bf

8 files changed

Lines changed: 835 additions & 759 deletions

File tree

.github/stale.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Probot Stale configuration file
22

33
# Number of days of inactivity before an issue becomes stale
4-
daysUntilStale: 200
4+
# 182 days is roughly 6 months
5+
daysUntilStale: 182
56

67
# Number of days of inactivity before a stale issue is closed
78
daysUntilClose: 7

AUTHORS.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ Alec Koumjian akoumjian akoumjian@gmail.com
1313
Alex Van't Hof alexvh
1414
Alexander Krasnukhin themalkolm the.malkolm@gmail.com
1515
Alexey dmitrievav
16+
amendlik amendlik
1617
Andrew Dean ndrwdn ndrwdn@gmail.com
1718
Andy Boff caelor github@plek.me.uk
1819
Angelo Gründler plueschopath angelo.gruendler@w1r3.net
1920
Ari Aosved devaos ari.aosved@gmail.com
2021
Ashok Raja R ashokrajar ashokrajar@users.noreply.github.com
2122
Beau Hargis beaucephus beau@customermobile.com
23+
BlaineAtAffirmOnceMore BlaineAtAffirm
2224
Boris Feld Lothiraldan
2325
Brad Thurber bradthurber
2426
Brandon Clifford brandon099 brandon.clifford@vivint.com
@@ -55,6 +57,7 @@ fizmat fizmat
5557
Forrest Alvarez gravyboat
5658
Fred Reimer freimer freimer@freimer.org
5759
Geoff Garside geoffgarside geoff@geoffgarside.co.uk
60+
George aflat gstock.public@gmail.com
5861
gdm85 gdm85
5962
ggillies ggillies
6063
Giuseppe Iannello giannello giuseppe.iannello@brokenloop.net
@@ -63,7 +66,9 @@ Guillaume Derval GuillaumeDerval guillaume@guillaumederval.be
6366
gweis gweis
6467
Henrik Holmboe holmboe
6568
Howard Mei HowardMei howardleomei@gmail.com
69+
James Booth absolutejam vvalentine1337@gmail.com
6670
Jared E Stroud jaredestroud jaredestroud@gmail.com
71+
JD decomposite
6772
Jeff Hui jeffh jeff@jeffhui.net
6873
Jeff Strunk jstrunk
6974
Juan A. Moyano wincus wincus.public@gmail.com
@@ -117,6 +122,7 @@ Roman Mohr rmohr rmohr@redhat.com
117122
Ronald van Zantvoort The-Loeki ronald@pcextreme.nl
118123
RuriRyan RuriRyan ryan@btsoft.eu
119124
Ryan Walder ryanwalder ryanwalder@ucds.email
125+
Sebastian Wendel sourceindex
120126
Sergey Paramonov serge-p serg.paramonov@s-vp.com
121127
Shane Lee twangboy slee@saltstack.com
122128
Shawn Butts shawnbutts
@@ -128,6 +134,7 @@ Thomas S. Hatch thatch45 thatch45@saltstack.com
128134
Tobias Jungel toanju Tobias.Jungel@gmail.com
129135
Tony Narlock tony
130136
Valentin Bud valentinbud valentin@databus.pro
137+
Vernon Cole vernondcole vernondcole@gmail.com
131138
Vladimir Kozhukalov kozhukalov
132139
Whit Morriss whitmo whit@nocoast.us
133140
Wolodja Wentland babilen w@babilen5.org

CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at conduct@saltstack.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

ChangeLog

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
Version 2017.08.17:
2+
* Add new authors (rallytime) #1130
3+
* README: Fix typo and Table of Contents for Debian section (vutny) #1129
4+
* Reduce the # of days an issue is stale to 6 months (rallytime) #1125
5+
* Only install Python version if "-y" is defined (rallytime) #1124
6+
* Allow powershell bootstrap script to specify PY2 or 3 (rallytime) #1123
7+
* Remove the test that checks if the EPEL RPM was installed (amendlik) #1122
8+
* added latest version string of nitrogen release 2017.7 (sourceindex) #1120
9+
* use versions specified in base.txt when doing pip installs (aflat) #1116
10+
* Remove pip install requirement on Fedora git installs (rallytime) #1114
11+
* Introductory support for Debian 10 (Buster) (rallytime) #1113
12+
* Add Debian 9 support using official repo.saltstack.com packages (rallytime) #1111
13+
* Fix 1105 (vernondcole) #1110
14+
* Move SUSE specific function closer to related code (vutny) #1107
15+
* Update Authors file (rallytime) #1103
16+
* Fix ubuntu 16.04 LTS installation (BlaineAtAffirm) #1102
17+
* Add debian_codename_translation function, similar to Ubuntu (rallytime) #1101
18+
* Add the CODE_OF_CONDUCT.md file (rallytime) #1100
19+
* Update Debian and Ubuntu service file paths to be consistent with salt (rallytime) #1099
20+
* Add hash verification information to installation instructions (rallytime) #1098
21+
* Fix installing salt-cloud package on Arch Linux (rallytime) #1097
22+
* Support bootstrapping on upcoming Debian GNU/Linux 9.0 (vutny) #1096
23+
* Removes faulty explicit version ordering (absolutejam) #1095
24+
* Remove configuring EPEL repo for Amazon Linux (vutny) #1093
25+
* Fix -j/-J (JSON configs) options for Debian 8 (vutny) #1092
26+
* Fix #1035: detect and log errors earlier (vutny) #1091
27+
* Update AUTHORS file (rallytime) #1089
28+
* Autounmask as separate step (decomposite) #1088
29+
* Ensure presence of CONFIG_PROTECT_MASK files (decomposite) #1087
30+
* Update Fedora support: 23 is EOL now. (rallytime) #1084
31+
* Fix the -R option on Debian/Ubuntu (rallytime) #1082
32+
* Declare End-Of-Life for Ubuntu 12.04 LTS (vutny) #1080
33+
134
Version 2017.05.24:
235
* Use freebsd repo to query for salt dependencies (Ch3LL) #1076
336
* Allow amazon to work with python2.7 on installs over 2016.11 (Ch3LL) #1073

README.rst

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@ are high that your issue was already fixed.
2727
Bootstrap
2828
=========
2929

30-
If you're looking for the *one-liner* to install Salt, please scroll to the bottom and use the
31-
instructions for `Installing via an Insecure One-Liner`_.
30+
In every two-step installation example, you would be well-served to **verify against the SHA256 sum**
31+
of the downloaded ``bootstrap-salt.sh`` file.
3232

33-
.. note::
33+
The SHA256 sum of the ``bootstrap-salt.sh`` file, per release, is:
3434

35-
In every two-step example, you would be well-served to examine the downloaded file and examine
36-
it to ensure that it does what you expect.
35+
- 2017.05.24: ``8c42c2e5ad3d4384ddc557da5c214ba3e40c056ca1b758d14a392c1364650e89``
36+
37+
If you're looking for the *one-liner* to install Salt, please scroll to the bottom and use the
38+
instructions for `Installing via an Insecure One-Liner`_.
3739

3840

3941
Examples
@@ -64,7 +66,7 @@ If you want to install a specific release version (based on the Git tags):
6466
.. code:: console
6567
6668
curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
67-
sudo sh bootstrap-salt.sh git v2016.3.2
69+
sudo sh bootstrap-salt.sh git v2016.11.5
6870
6971
To install a specific branch from a Git fork:
7072

@@ -104,7 +106,7 @@ Installing a specific version from git using ``wget``:
104106
.. code:: console
105107
106108
wget -O bootstrap-salt.sh https://bootstrap.saltstack.com
107-
sudo sh bootstrap-salt.sh -P git v2015.8.11
109+
sudo sh bootstrap-salt.sh -P git v2016.11.5
108110
109111
.. note::
110112

@@ -226,19 +228,31 @@ Debian and derivatives
226228
~~~~~~~~~~~~~~~~~~~~~~
227229

228230
- Cumulus Linux 2/3
229-
- Debian GNU/Linux 7/8
231+
- Debian GNU/Linux 7/8/9
230232
- Linux Mint Debian Edition 1 (based on Debian 8)
231233
- Kali Linux 1.0 (based on Debian 7)
232234
- Raspbian 8 (``armhf``)
233235

236+
Debian Best Effort Support: Testing Release
237+
*******************************************
238+
239+
This script provides best-effort support for the upcoming Debian testing release. Package
240+
repositories are not provided on `SaltStack's Debian repository`_ for Debian testing releases.
241+
However, the bootstrap script will attempt to install the packages for the current stable
242+
version of Debian.
243+
244+
For example, when installing Salt on Debian 10 (Buster), the bootstrap script will setup the
245+
repository for Debian 9 (Stretch) from `SaltStack's Debian repository`_ and install the
246+
Debian 9 packages.
247+
234248

235249
Red Hat family
236250
~~~~~~~~~~~~~~
237251

238252
- Amazon Linux 2012.3 and later
239253
- CentOS 6/7
240254
- Cloud Linux 6/7
241-
- Fedora 23/24/25
255+
- Fedora 24/25
242256
- Oracle Linux 6/7
243257
- Red Hat Enterprise Linux 6/7
244258
- Scientific Linux 6/7
@@ -256,12 +270,9 @@ SUSE family
256270
Ubuntu and derivatives
257271
~~~~~~~~~~~~~~~~~~~~~~
258272

259-
- Elementary OS 0.2 (based on Ubuntu 12.04)
260273
- KDE neon (based on Ubuntu 16.04)
261-
- Linaro 12.04
262-
- Linux Mint 13/17/18
263-
- Trisquel GNU/Linux 6 (based on Ubuntu 12.04)
264-
- Ubuntu 12.04/14.04/16.04 and subsequent non-TLS releases (see below)
274+
- Linux Mint 17/18
275+
- Ubuntu 14.04/16.04 and subsequent non-TLS releases (see below)
265276

266277
Ubuntu Best Effort Support: Non-LTS Releases
267278
********************************************
@@ -565,6 +576,7 @@ Salt is ready and working in the Docker container with Minion authenticated on M
565576
.. _`Salt`: https://saltstack.com/community/
566577
.. _`Salt's Supported Operating Systems`: http://saltstack.com/wp-content/uploads/2016/08/SaltStack-Supported-Operating-Systems.pdf
567578
.. _`SaltStack's corporate repository`: https://repo.saltstack.com/
579+
.. _`SaltStack's Debian repository`: http://repo.saltstack.com/#debian
568580
.. _`SaltStack's Ubuntu repository`: http://repo.saltstack.com/#ubuntu
569581
.. _Vagrant: http://www.vagrantup.com
570582

Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
1010
# please see the online documentation at vagrantup.com.
1111

1212
# Every Vagrant virtual environment requires a box to build off of.
13-
config.vm.box = "ubuntu/precise64"
13+
config.vm.box = "ubuntu/xenial64"
1414

1515
# The url from where the 'config.vm.box' box will be fetched if it
1616
# doesn't already exist on the user's system.

bootstrap-salt.ps1

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@
1313
Runs without any parameters. Uses all the default values/settings.
1414
1515
.EXAMPLE
16-
./bootstrap-salt.ps1 -version 2015.4.1-3
16+
./bootstrap-salt.ps1 -version 2017.7.0
1717
Specifies a particular version of the installer.
1818
19+
.EXAMPLE
20+
./bootstrap-salt.ps1 -pythonVersion 3
21+
Specifies the Python version of the installer. Can be "2" or "3". Defaults to "2".
22+
Python 3 installers are only available for Salt 2017.7.0 and newer.
23+
1924
.EXAMPLE
2025
./bootstrap-salt.ps1 -runservice false
2126
Specifies the salt-minion service to stop and be set to manual. Useful for
@@ -27,12 +32,18 @@
2732
installer values of host name for the minion id and "salt" for the master.
2833
2934
.EXAMPLE
30-
./bootstrap-salt.ps1 -minion minion-box -master master-box -version 2015.5.2 -runservice false
35+
./bootstrap-salt.ps1 -minion minion-box -master master-box -version 2017.7.0 -runservice false
3136
Specifies all the optional parameters in no particular order.
3237
3338
.PARAMETER version
3439
Default version defined in this script.
3540
41+
.PARAMETER pythonVersion
42+
The version of Python the installer should use. Specify either "2" or "3".
43+
Beginning with Salt 2017.7.0, Salt will run on either Python 2 or Python 3.
44+
The default is Python 2 if not specified. This parameter only works for Salt
45+
versions >= 2017.7.0.
46+
3647
.PARAMETER runservice
3748
Boolean flag to start or stop the minion service. True will start the minion
3849
service. False will stop the minion service and set it to "manual". The
@@ -69,6 +80,11 @@ Param(
6980
[ValidatePattern('^201\d\.\d{1,2}\.\d{1,2}(\-\d{1})?|(rc\d)$')]
7081
[string]$version = '',
7182

83+
[Parameter(Mandatory=$false,ValueFromPipeline=$true)]
84+
# Doesn't support versions prior to "2017.7.0"
85+
[ValidateSet("2","3")]
86+
[string]$pythonVersion = "",
87+
7288
[Parameter(Mandatory=$false,ValueFromPipeline=$true)]
7389
[ValidateSet("true","false")]
7490
[string]$runservice = "true",
@@ -113,6 +129,7 @@ If (!(Get-IsAdministrator)) {
113129
If($master -ne "not-specified") {$parameters = "$parameters -master $master"}
114130
If($runservice -eq $false) {$parameters = "$parameters -runservice false"}
115131
If($version -ne '') {$parameters = "$parameters -version $version"}
132+
If($pythonVersion -ne "") {$parameters = "$parameters -pythonVersion $pythonVersion"}
116133
$newProcess.Arguments = $myInvocation.MyCommand.Definition, $parameters
117134

118135
# Specify the current working directory
@@ -211,13 +228,25 @@ If (!$version) {
211228
$returnMatches = $returnMatches | Where {$_ -like "Salt-Minion*AMD64-Setup.exe"}
212229
}
213230

214-
$version = $(($returnMatches | Sort-Object -Descending)[0]).Split(("n-","-A","-x"),([System.StringSplitOptions]::RemoveEmptyEntries))[1]
231+
$version = $($returnMatches[$returnMatches.Count -1]).Split(("n-","-A","-x","-P"),([System.StringSplitOptions]::RemoveEmptyEntries))[1]
232+
}
233+
234+
$versionSection = $version
235+
236+
$year = $version.Substring(0, 4)
237+
If ([int]$year -ge 2017) {
238+
If ($pythonVersion -eq "3") {
239+
$versionSection = "$version-Py3"
240+
}
241+
Else {
242+
$versionSection = "$version-Py2"
243+
}
215244
}
216245

217246
#===============================================================================
218247
# Download minion setup file
219248
#===============================================================================
220-
$saltExe = "Salt-Minion-$version-$arch-Setup.exe"
249+
$saltExe = "Salt-Minion-$versionSection-$arch-Setup.exe"
221250
Write-Output "Downloading Salt minion installer $saltExe"
222251
$webclient = New-Object System.Net.WebClient
223252
$url = "$repourl/$saltExe"

0 commit comments

Comments
 (0)