Commit graph

2706 commits

Author SHA1 Message Date
Denys Havrysh
97d8ba7a55
README: latest stable is in Fedora 26/27/28 repos
Also trim some trailing spaces and long lines.
2018-03-27 13:42:47 +03:00
Denys Havrysh
357a07bf7b
Remove COPR repos configuration for Fedora 2018-03-27 13:24:45 +03:00
Nicole Thomas
f20889182e
Merge pull request #1205 from bdrung/develop
Use integer parameter for sleep command
2018-03-08 10:58:05 -05:00
Benjamin Drung
e2c0433ffa Use integer parameter for sleep command
The bootstrap-salt.sh script uses a "bashism" for the sleep command.
Bash allows real numbers as sleep time, but other POSIX shell
interpreters only support an integer as parameter. Thus raise the sleep
timeout from 0.1 to 1 second.

The git commits baa54a64, acbd9842, 1aea3037, and 03186a6d that
introduce the sleep commands do not explain why a sleep command is used
in the code. You might be able to remove the sleep command completely.

Bug-Debian: https://bugs.debian.org/772406
2018-03-08 16:30:23 +01:00
Nicole Thomas
a2385e2d89
Merge pull request #1204 from rallytime/add-2018.3
Add 2018.3 branch to list of stable options
2018-03-07 18:04:19 -05:00
Nicole Thomas
871b876f06
Merge pull request #1203 from rallytime/fix-1202
If installing with -P, install tornado<5.0.
2018-03-07 18:03:56 -05:00
rallytime
0c4b68db40
Add 2018.3 branch to list of stable options 2018-03-07 15:29:37 -05:00
rallytime
c035d83c9c
If installing with -P, install tornado<5.0.
Tornado 5.0 is not compatible with Salt at this time. For now, install
an older version until Salt is fixed for newer versions of tornado.

See https://github.com/saltstack/salt/issues/45790 for more information.

Fixes #1202
2018-03-07 15:08:31 -05:00
Nicole Thomas
e8e2b6bf5c
Merge pull request #1201 from Ch3LL/m2crypto
Add M2Crypto to python27 centos 6 bootstrap install
2018-02-15 11:53:02 -05:00
Ch3LL
de6a459405
remove unnecessary variable 2018-02-15 10:16:41 -05:00
Ch3LL
1827473239
Add M2Crypto to python27 centos 6 bootstrap install 2018-02-14 18:44:05 -05:00
Nicole Thomas
c596ca4fbd
Merge pull request #1200 from rallytime/test-PR-reviewers
Update README to include mention of bootstrap-salt.ps1 for Windows
2018-01-30 16:52:31 -05:00
rallytime
2932bae2fa
Update README to include mention of bootstrap-salt.ps1 for Windows 2018-01-30 16:14:02 -05:00
Nicole Thomas
3034f0522f
Merge pull request #1199 from rallytime/spelling-errors
Port spelling fixes from change in Salt to Bootstrap
2018-01-29 08:58:37 -05:00
rallytime
d945972fc0
Port spelling fixes from change in Salt to Bootstrap
Refs https://github.com/saltstack/salt/pull/45747
2018-01-29 08:55:27 -05:00
Nicole Thomas
ca13dd562d
Merge pull request #1197 from jasperla/openbsd/cdn
OpenBSD has a cdn which handles selecting the best mirror
2018-01-26 15:11:00 -05:00
Nicole Thomas
86eb0824b6
Merge pull request #1198 from rallytime/add-m2crypto
Add M2Crypto package back to git install functions
2018-01-26 15:10:41 -05:00
rallytime
4476ddcb9b
Add M2Crypto package back to git install functions
This is due to the change in Salt for Oxygen:
https://github.com/saltstack/salt/pull/44962
2018-01-26 12:26:45 -05:00
Jasper Lievisse Adriaanse
6f1f4cae0b OpenBSD has a cdn which handles selecting the best mirror
Set the mirror by overwriting the installurl file which can only
contain a single line so the original behaviour of appending
might not have worked reliably.
The user can pass '-r' to disable setting the repos already to
opt-out of this behaviour.
2018-01-25 21:48:39 +01:00
Daniel Wallace
d0e39622c5
Merge pull request #1196 from rallytime/fix-1193
Change gnupg2 pacakge to gnupg for non-LTS versions of Ubuntu
2018-01-22 13:32:19 -07:00
rallytime
6a4b3c2c11
Change gnupg2 pacakge to gnupg for non-LTS versions of Ubuntu
The gnupg2 package has been removed as it is just a dummy translation
package. We need to be installing gnupg instead.

This also adds best-effort support for the "Artful Aardvark" (17.10)
version and removes support for "Zesty Zapus" (17.04) and "Yakkety Yak"
(16.10). Both releases are EOL.
2018-01-22 13:30:43 -05:00
Nicole Thomas
da7234eb5c
Merge pull request #1186 from rallytime/fix-1163
Add __wait_for_apt function: avoid locking on the apt-get process
2018-01-05 12:45:26 -05:00
rallytime
60600c7b6c
Add __wait_for_apt function: avoid locking on the apt-get process
Fixes #1163

I also updated some of the example versions from 2016.x versions to
use newer 2017.7 versions.
2018-01-05 10:33:08 -05:00
Nicole Thomas
4bf59ab1f4
Merge pull request #1191 from Perceptyx/freebsd_swig_package
Install swig30 as freebsd dep instead of swig.
2018-01-04 16:02:48 -05:00
abednarik
94b86f28df
Install swig30 as freebsd dep instead of swig.
Looks like swig was removed from FreeBSD Ports. See https://www.freshports.org/commit.php?category=devel&port=swig13&files=yes&message_id=201712201528.vBKFSwpR091538@repo.freebsd.org
2018-01-04 13:45:24 -03:00
Nicole Thomas
b472ea9d7d
Merge pull request #1190 from sybix/develop
make salt-syndic optional on salt bootstrap
2018-01-02 09:11:52 -05:00
sybix
b30af3c5cf
make salt-syndic optional on salt bootstrap 2017-12-31 11:39:02 +01:00
Nicole Thomas
9034d3b925
Merge pull request #1185 from rallytime/readme-updates
Update the README.rst file with some grammatical changes
2017-12-28 09:43:54 -05:00
rallytime
938264f9e4
Update the README.rst file with some grammatical changes 2017-12-28 09:34:14 -05:00
Nicole Thomas
786bf57371
Merge pull request #1184 from rallytime/remove-fed-25
Update Fedora support: 25 is EOL, 27 is supported
2017-12-28 09:17:47 -05:00
rallytime
262d50d9eb
Update Fedora support: 25 is EOL, 27 is supported
- Fedora 25 is EOL and no longer supported.
- Fedora 27 is out and supported, let's update the docs.
2017-12-28 09:14:22 -05:00
Nicole Thomas
93db618ac0
Merge pull request #1183 from rallytime/fix-880
Add a note about the use of sudo when running commands to README
2017-12-28 09:11:17 -05:00
rallytime
630a2c4c54
Add a note about the use of sudo when running commands to README
Fixes #880
2017-12-28 09:07:15 -05:00
Nicole Thomas
19f1eb7862
Merge pull request #1182 from cmclaughlin/aws-minor-release
Adding support for minor release pinning on AWS Linux
2017-12-27 09:31:49 -05:00
Charles McLaughlin
b09dd90f0a
PR feedback - POSIX compliance 2017-12-26 21:11:48 -08:00
Charles McLaughlin
6eb2423d18
Adding support for minor release pinning on AWS Linux
Currently Salt 2017.7.2 has a critical bug that has broke disk
formatting for me:

saltstack/salt#44029

That left me looking for a way to pin AWS Linux hosts launched from
salt-cloud to an older release. With this change script args
`stable 2017.7.1` now works with AWS Linux based on the "Pin to Minor
Release" instructions listed at https://repo.saltstack.com/#amzn.

As noted in the comments below this change, we should probably refactor
to use `__install_saltstack_rhel_repository()`... in fact I've copied more
code from that function... but I don't understand all the cases for all
the other RedHat varients, so I'm just putting in the work for AWS
Linux.
2017-12-26 21:06:04 -08:00
Nicole Thomas
0b300938ae
Merge pull request #1181 from rallytime/fix-zypper-process-lock-problem
Wait for zypper processes to finish before calling zypper again
2017-12-16 08:15:47 -05:00
rallytime
9fb764dcb2
Wait for zypper processes to finish before calling zypper again
Fixes an issue where the bootstrap script bails out if there is a zypper
process running already on the machine to be bootstrapped. This can happen
when a machine has been modified to use zypper in a boot command. We need
to wait for the process to finish before calling the next zypper command.

Otherwise, the following error occurs:
```
System management is locked by the application with pid <pid#> (zypper).
```
2017-12-15 16:05:18 -05:00
Nicole Thomas
17dc74ba13
Merge pull request #1179 from gtmanfred/develop
only install ca-certificates on opensuse if it isn't already installed
2017-12-14 17:56:49 -05:00
Daniel Wallace
790d2ab13d
only install ca-certificates on opensuse if it isn't already installed 2017-12-14 15:30:07 -07:00
Nicole Thomas
ce278f2104
Merge pull request #1178 from rallytime/update-sum-2017.12.13
Add sum to README for 2017.12.13 release
2017-12-13 13:34:59 -05:00
rallytime
dcf9dfda94
Add sum to README for 2017.12.13 release 2017-12-13 13:30:31 -05:00
Nicole Thomas
66b62dbc32
Merge pull request #1176 from rallytime/release-for-2017.12.13
Update AUTHORS, ChangeLog, and Release Version number
2017-12-13 13:01:10 -05:00
rallytime
bb4fb8be7f
Update AUTHORS, ChangeLog, and Release Version number
Release for 2017.12.13
2017-12-13 12:54:16 -05:00
Nicole Thomas
825e9568cc
Merge pull request #1174 from gdm85/patch-1
Use HTTPS URL for OpenSuse's saltstack repo
2017-12-07 16:54:29 -05:00
gdm85
1664c84130
Use HTTPS for the list of OpenBSD mirrors 2017-12-07 22:07:16 +01:00
gdm85
5165ded566
Use HTTPS URL for OpenSuse's saltstack repo 2017-12-07 22:05:23 +01:00
Nicole Thomas
3f32a9181a
Merge pull request #1171 from eradman/openbsd_disable_repos
Respect disable repos (-r) option on OpenBSD
2017-12-01 10:12:05 -05:00
Eric Radman
4d4ae8898f
Respect disable repos (-r) option on OpenBSD 2017-11-30 16:32:28 -05:00
Nicole Thomas
305fa66c4e
Merge pull request #1170 from vutny/fix-1168
Fix #1168 : -b option causes error
2017-11-20 09:00:04 -05:00