Commit graph

2431 commits

Author SHA1 Message Date
rallytime
5bc9fdb3f8 Install yum-utils before doing anything else in Amazon Linux 2016-10-24 12:58:21 -06:00
rallytime
00492df5f3 Add yum-utils package to be installed on Amazon Linux
Fixes #974
2016-10-24 10:50:42 -06:00
Nicole Thomas
800750f8fa Merge pull request #975 from lhost/develop
Let's start detecting the upcoming Debian 9 (Stretch)
2016-10-24 09:46:25 -06:00
Nicole Thomas
96086e726d Merge pull request #940 from vutny/apt-secure
[SECURITY] Properly handle GnuPG keys for APT repositories
2016-10-24 09:45:38 -06:00
Lubomir Host
6931863007 Let's start detecting the upcoming Debian 9 (Stretch) 2016-10-23 19:04:28 +02:00
Pedro Algarvio
826c91d4d5 Merge pull request #969 from eradman/openbsd
Update OpenBSD 6.0+ provisioning
2016-10-22 17:48:39 +01:00
Nicole Thomas
5907c42f6f Merge pull request #970 from eradman/freebsd
FreeBSD: set _SALT_ETC_DIR directory to match ports
2016-10-22 08:10:47 -06:00
Eric Radman
d58c8492c6 FreeBSD: set _SALT_ETC_DIR directory to match ports
FreeBSD packages use `/usr/local/etc/salt`. Modify the Salt `etc/`
location early so that all config is written to the correct location.

Tested using the following DigitalOcean images:

    freebsd-11-0-x64
    freebsd-10-3-x64
    freebsd-10-1-x64
2016-10-14 10:12:11 -04:00
Eric Radman
e94aaf3084 Update OpenBSD 6.0+ provisioning
This change makes provisioning OpenBSD 6.0-release fully functional
using salt-cloud.

Mirror Selection
----------------

* Address fixme: use mirrors from /etc/examples/pkg.conf instead of
  fetching a web page
* Bugfix: return an answer if the first mirror is the fastest
* Bugfix: avoid manually formatting package source path

Service Management
------------------

* Cleanup: rely on rc.d files installed by the salt package
* Cleanup: no longer any reason to run sed on rc.d files
* Modernize: use rcctl to check existing configuration
* Modernize: use rcctl to enable and start services

Package Installation
--------------------

* Cleanup: use salt package maintained by OpenBSD project
* Bugfix: eliminate package conflicts introduced by `pip install`
2016-10-13 12:19:41 -04:00
Nicole Thomas
8827b130f9 Merge pull request #965 from rallytime/fix-956
Change /pkg/rpm/ to /pkg/deb/ in install_ubuntu_git_post func
2016-10-10 08:52:20 -06:00
Nicole Thomas
fc94494511 Merge pull request #967 from plumbis/patch-1
adds supports for Cumulus Linux
2016-10-07 15:28:15 -06:00
Pete Lumbis
178c862d1f adds supports for Cumulus Linux
this change adds Cumulus Linux 2.x and 3.x as proper Debian derivatives. Cumulus Linux maintains a separate repo that does not contain all of the salt dependencies. The user will still be required to point their system to a global Debian repo for this to execute successfully.
2016-10-04 11:19:30 -04:00
Nicole Thomas
3dd2ab8701 Merge pull request #966 from rallytime/fix-764
Run "pip install -U futures" for SmartOS git install
2016-09-28 07:58:24 -06:00
rallytime
73a6bb9915 Run "pip install -U futures" for SmartOS git install
Fixes #764

When installing salt via git on SmartOS, salt commands would fail
because the required version of python futures wasn't installed.

We need to add a "pip install -U futures" call (triggered by passing
in -P) to the SmartOS git installation like we do for the required
version of tornado.
2016-09-27 14:35:55 -06:00
rallytime
bc06d20a20 Change /pkg/rpm/ to /pkg/deb/ in install_ubuntu_git_post func
Fixes #956
2016-09-27 11:40:53 -06:00
Nicole Thomas
37bb62865c Merge pull request #964 from rallytime/fix-962
SUSE: Refactor systemsmanagement_saltstack repo checks to be DRY
2016-09-27 11:34:01 -06:00
rallytime
e0cffd7855 SUSE: Refactor systemsmanagement_saltstack repo checks to be DRY
Also, relax the search for systemsmanagement_saltstack before
attempting to add and refresh the zypper repo list. When running
the bootstrap script on a Suse machine that already had the repo
present, we were failing the strict check, and then attempting
to add the repo even though it already existed. This would cause
the bootstrap script to exit and you couldn't try to install Salt
at a different version or try to run the script again.

Fixes #962
2016-09-27 11:19:32 -06:00
Nicole Thomas
3fc1501858 Merge pull request #963 from sp1r/fix-epel-repo-with-metadata-detection
Fix detection of EPEL repository with not-expired metadata
2016-09-23 08:27:32 -06:00
Vyacheslav Spiridonov
1f88e3a1b9 Fix detection of EPEL repository with not-expired metadata 2016-09-23 12:20:55 +03:00
Nicole Thomas
b5978ee1cd Merge pull request #958 from vutny/deprecate-G
Display warning message about deprecating the `-G` option
2016-09-19 16:20:03 -06:00
Thomas S Hatch
b9d3139cb7 Merge pull request #950 from rallytime/fix-941
Try to install SP4 packages on SLE 11 when SP version is older
2016-09-19 12:21:58 -06:00
Denys Havrysh
9d8b3bed93 Display warning message about deprecating the -G option 2016-09-13 14:38:21 +03:00
Nicole Thomas
f02a874d0c Merge pull request #955 from jtand/freebsd_fix
Allow correct salt paths to be used when -c is passed
2016-09-12 15:49:10 -06:00
Justin Anderson
a7160623d0 We no longer need a specific config_freebsd_salt function 2016-09-12 15:46:25 -06:00
Justin Anderson
e6e07c63b7 Allow correct salt paths to be used when -c is passed 2016-09-12 12:07:30 -06:00
Nicole Thomas
88d6f10363 Merge pull request #954 from fizmat/develop
Fix issues with replacing configs when python3 is default in os.
2016-09-12 11:53:43 -06:00
Ivan Kadochnikov
7206d73043 Test python for yaml when replacing configs 2016-09-13 03:35:20 +10:00
Ivan Kadochnikov
3388e470b8 Minimize python use when replacing configs 2016-09-13 03:33:27 +10:00
Thomas S Hatch
47d0308b8e Merge pull request #951 from rallytime/remove-m2crypto
Remove m2crypto package installs
2016-09-08 17:11:56 -06:00
rallytime
f6087d7bd2 Remove m2crypto package installs
M2Crypto was removed as a hard dependency in Salt starting with
the 2015.8 releases. We don't need to install this during a bootstrap
run anymore.
2016-09-08 17:08:05 -06:00
rallytime
01597bcfa0 Try to install SP4 packages on SLE 11 when SP version is older
Fixes #941

If we detect an older service pack when installing Salt on SLES,
we should warn the user that we'll attempt to install SP4 Salt
packages, and then attempt to do so.

repo.saltstack.com pegs the SLE 11 repo at SP4, as does SUSE, so
we should attempt to install those instead of failing like this:
```
File '/opensuse/SLE_11_SP3/systemsmanagement:saltstack.repo' not found on medium 'https://repo.saltstack.com/'
```
2016-09-08 15:32:38 -06:00
Nicole Thomas
2135750bb0 Merge pull request #948 from rallytime/fix-917
Add python-futures package to install_centos_git_deps
2016-09-08 15:15:51 -06:00
rallytime
76f4d20dbe Add python-futures package to install_centos_git_deps 2016-09-02 11:28:20 -06:00
Denys Havrysh
ac982819f8 Update .gitignore with more generic pattern for VIM swap files 2016-09-01 17:45:15 +03:00
Nicole Thomas
dec96e8d38 Merge pull request #947 from rallytime/updates-for-876
Add /etc/portage/package.accept_keywords to CONFIG_PROTECT_MASK
2016-08-29 17:04:16 -06:00
rallytime
c978acd0bc Add /etc/portage/package.accept_keywords to CONFIG_PROTECT_MASK
Refs #876
2016-08-29 16:58:53 -06:00
Nicole Thomas
73a83450ec Merge pull request #945 from vutny/github-https-by-default
Deprecate `-G` option: use `https` scheme for GitHub by default
2016-08-29 16:51:33 -06:00
Denys Havrysh
cdef85919f Deprecate -G option: use https scheme for GitHub by default 2016-08-27 23:40:56 +03:00
Denys Havrysh
caadc0931e Debian/Ubuntu: update the local keyring with the archive keyring 2016-08-26 11:26:33 +03:00
Denys Havrysh
f523651668 On Debian and Ubuntu allow to obtain GnuPG archive keys insecurely 2016-08-19 13:16:50 +03:00
Denys Havrysh
0e45ba1c72 Use apt-key to retrieve GPG pubic keys on Debian and Ubuntu 2016-08-19 11:22:46 +03:00
Nicole Thomas
250fd33fc8 Merge pull request #931 from vutny/salt-api-service
Configure `salt-api` service, but do not attempt to start it on all OS
2016-08-18 13:48:39 -06:00
Pedro Algarvio
d2561bd606 Merge pull request #932 from vutny/rhel-detection-workaround
Add workaround when `__camelcase_split` doesn't work. Fixes #918
2016-08-18 15:14:33 -04:00
Denys Havrysh
171e9e0d11 Fix locale issues: use POSIX character classes instead of ranges 2016-08-17 10:28:48 +03:00
Nicole Thomas
33961ffd31 Merge pull request #937 from rallytime/hotfix-release
Update Changelog and Bump Version Number for Release
2016-08-16 10:41:56 -06:00
rallytime
a240a9b1a8 Update Changelog and Bump Version Number for Release 2016-08-16 10:39:09 -06:00
Nicole Thomas
4cd02d40af Merge pull request #936 from vutny/fix-ubuntu-git-pip
Ubuntu git mode: install all deps from SaltStack corp repo by default
2016-08-16 10:11:20 -06:00
Denys Havrysh
abc5ee9952 Ubuntu git mode: install all deps from SaltStack corp repo by default 2016-08-16 18:55:32 +03:00
Nicole Thomas
e9328eddd0 Merge pull request #933 from rallytime/changelog-updates
Changelog updates and release version number change
2016-08-15 13:04:07 -06:00
rallytime
5ffa2d0430 Update stable version number to 2016.08.15 2016-08-15 12:58:57 -06:00