Commit graph

1270 commits

Author SHA1 Message Date
Denys Havrysh
155a2cb719 Add support for stable installation on Alpine Linux release 3.5 2017-02-10 11:09:53 +02:00
Denys Havrysh
f05206b37f Alpine Linux: fix installation of multiple pkgs ("stable" bootstrap mode) 2017-02-09 12:14:35 +02:00
Andrew Dean
bcf7060570 Resolving spelling and quotation issues. 2017-02-06 14:41:44 -05:00
Andrew Dean
fcfac10c23 Add Void Linux support 2017-02-06 14:32:40 -05:00
Denys Havrysh
2ae905b5d4 RHEL6: disable stdin to fix shell session hang on killing tee pipe 2017-01-19 10:21:27 +02:00
Ashok Raja R
51629e7e5f Adding 2016.11 to stable version
Make bootstrap to recognise 2016.11 as a stable version.
2017-01-18 15:08:54 +05:30
Andy Boff
fa9deb680c Update bootstrap-salt.sh
This is a typo on line 4302 (applies to Alpine Linux) - missing leading / on the redirect to /dev/null.

Also, around line 4301, the rc.d scripts are never copied to /etc/init.d for rc-update to act on them. I've not located any OpenRC init scripts within the salt repo, so haven't fixed that.
2017-01-13 19:19:12 +00:00
Nicole Thomas
8c970f46e2 Merge pull request #1010 from ek9/alpine-linux
Alpine Linux support #1009
2017-01-11 08:54:32 -07:00
ek9
d4da00c63b shell lint fix 2017-01-10 23:17:48 +01:00
rallytime
33008a06ec Update script to version 2017.01.10
Also updated copyright date range to 2017
2017-01-10 14:43:23 -07:00
ek9
32f3179e9f styling: remove 2 unnecessarily added new lines 2017-01-08 16:17:51 +01:00
ek9
5972982747 alpine: add py2-yaml as git dep 2017-01-08 16:09:00 +01:00
ek9
50a67a5203 alpine: add git install support via install_alpine_linux_git_deps()
Add basic support of installing via `git`.
2017-01-08 16:03:24 +01:00
ek9
48f8145026 alpine: fix Syndic not having openRC service + daemons_running_alpine
- Fix Syndic based checks when Syndic is installed as when it is
  installed it does not have a daemon on Alpine Linux
- Add `daemons_running_alpine_linux()` function which check if daemons
  are running after install. It's a copy of daemons_running with Syndic
  exluded from the checks.
2017-01-08 16:01:02 +01:00
ek9
9f99661bbf add Alpine Linux + tweaks to sort | uniq
This commit add Alpine Linux support. Additionally, it updates few
functions:
- `sort --ignore-case` is changed to `sorf -f` as Alpine's `sort` only
  supports `-f` parameter. This is standard alias and shouldn't cause
  any problems in other installs
- `sort --unique` is replaced with `| uniq` as Alpine's `sort`. `uniq`
  is usually part of coreutils package which is installed on most
  systems.
2017-01-08 15:18:51 +01:00
Nicole Thomas
e06645ff48 Merge pull request #1002 from rallytime/update-ubuntu-versions
Updated supported versions for Ubuntu: 12.04, 14.04, 16.04, and 16.10 (best effort)
2017-01-06 10:03:53 -05:00
Nicole Thomas
42cf7c41d7 Merge pull request #1007 from ek9/fix-archlinux-package-name
fix bootstrap in Arch Linux by updating package name from salt-zmq to…
2017-01-04 11:19:14 -05:00
rallytime
20d88f2f1f Simplify ubuntu version check to look for "16.10" 2017-01-04 09:32:34 -05:00
Nicole Thomas
a1e6185868 Merge pull request #1001 from rallytime/remove-xenial-repo
Add "yakkety" to ubuntu_codename_translation function
2017-01-04 09:27:30 -05:00
ek9
1765a68f54 fix bootstrap in Arch Linux by updating package name from salt-zmq to salt #1005 2017-01-01 23:03:32 +01:00
rallytime
2e49173293 Various fixes from PR review:
- Update Linux Mint supported versions in README file
- Remove if statement restricting archive.ubuntu.com repository addition
- Remove old-releases.ubuntu.com repository addition
- Remove some unnecessary parens in an if statement && clause
- Add the python-software-properties install logic back in for Ubutu 12
- Remove the workaround for starting deamons for older versions (no longer applicable)
- Fix architecture spelling in README file
2016-12-22 10:13:01 -07:00
Nicole Thomas
a8e6b950c7 Merge pull request #995 from vutny/remove-creating-dirs-workarounds
Drop unnecessary workarounds (creating directories) for early releases
2016-12-22 09:31:10 -07:00
Nicole Thomas
107e4b0dac Merge pull request #1003 from rallytime/fix-999
Add python-systemd package to debian 8 git install
2016-12-22 09:10:13 -07:00
rallytime
37ee8cd46a Add python-systemd package to debian 8 git install
Fixes #999
2016-12-21 15:13:18 -07:00
rallytime
c80e8e6cae Remove Ubuntu 15 from ubuntu_codename_translation function 2016-12-21 11:19:18 -07:00
rallytime
5d45580131 Add "yakkety" to ubuntu_codename_translation function
Follow up to #998 and #976

This change will make it so the xenial repo.saltstack.com is not
added in `/etc/apt/sources.list.d/saltstack.list` file, but is
instead added as yakkety. The 16.10 link to repo.saltstack.com
currently will throw 404 errors, but the install will succeed
by installing 2016.3.1 from Ubuntu's repo. Git installs will work.

It's possible that a 16.10 repo will be added in the future. When
that happens, the bootstrap script will be ready.
2016-12-21 11:00:49 -07:00
rallytime
22a9a7c384 Remove linuxmint derivative mappings for EOL ubuntu OSes 2016-12-21 10:26:08 -07:00
rallytime
75b3eb32b8 Updated supported versions for Ubuntu: 12.04, 14.04, 16.04, and 16.10 (best effort)
The bootstrap script should match the supported versions of SaltStack
more closely, and we don't support versions that are considered EOL by
the OS distributors themselves.

This change updates the bootstrap script to support Ubuntu 12.04, 14.04,
16.04, and 16.10 (which the .10 release is a "best-effort" support since
it is a non-LTS OS release from Ubuntu).
2016-12-21 10:20:03 -07:00
rallytime
3bc694ef34 Add "install -y" in dnf cmd and update spacing 2016-12-21 09:02:50 -07:00
rallytime
9569344632 Update supported versions for Fedora: 23, 24, and 25.
The bootstrap script should match the supported versions of SaltStack
more closely, and we don't support versions that are considered EOL by
the OS distributors themselves.

This change updates the bootstrap script to support Fedora 23, 24, and 25.

Since "dnf" replaced "yum" as the package provider in Fedora 23, we no
longer need to set the $FEDORA_PACKAGE_MANAGER variable based on the
version of Fedora. This can simply be "dnf" now for Fedora installs.
2016-12-20 16:56:47 -07:00
Nicole Thomas
c74cfa67fb Merge pull request #998 from marco-m/ubuntu-gnupg1-curl
Handle renaming of gnupg-curl to gnupg1-curl for Ubuntu 16.10
2016-12-20 16:00:56 -07:00
Marco Molteni
13919948be Add missing double quotes 2016-12-18 14:28:53 +01:00
Marco Molteni
3f9f53aff3 Handle renaming of gnupg-curl to gnupg1-curl for Ubuntu 16.10 2016-12-17 21:42:49 +01:00
Alexey Dmitriev
155cfc5574 fix systemctl path 2016-12-14 18:04:02 +01:00
Denys Havrysh
2bbeb079a9 Drop unnecessary workarounds (creating directories) for early releases 2016-12-09 17:57:08 +02:00
Denys Havrysh
af4b4aea93 Let's detect newly released Salt 2016.11 stable release 2016-11-30 14:19:01 +02:00
Nicole Thomas
473f5e655f Merge pull request #991 from vutny/fix-missing-certs-for-git-on-deb
Install TLS certs before cloning git repo via https
2016-11-29 09:39:13 -07:00
Denys Havrysh
efff3d46e3 RPM distros: install TLS certs before cloning git repo via https 2016-11-29 18:09:48 +02:00
Denys Havrysh
cc3a2c7021 Debian and Ubuntu: install TLS certs before cloning git repo via https 2016-11-29 12:36:56 +02:00
rallytime
02a6911a69 Remove FIXME comment and fix systemsmanagement link
Fixes #588
2016-11-28 14:58:28 -07:00
Denys Havrysh
d6da76e583 Correct usage description about "config only" mode 2016-11-26 22:21:22 +02:00
Denys Havrysh
0697a3206a Install dependencies if Master/Minion custom configuration specified 2016-11-25 11:38:32 +02:00
Denys Havrysh
e5fef4a941 Fix overwriting Minion config from temporarily directory 2016-11-24 11:44:33 +02:00
Nicole Thomas
c7bab0a34a Merge pull request #987 from vutny/configure-salt-after-install
Configure Salt components after the dependencies installation
2016-11-23 11:26:49 -07:00
Denys Havrysh
e00d3963c6 Configure Minion ID and Master address prior to Salt installation 2016-11-23 10:33:52 +02:00
Denys Havrysh
cda950bd31 Configure Salt components after the dependencies installation 2016-11-22 12:10:02 +02:00
Nicole Thomas
c74a5ffa73 Merge pull request #977 from rallytime/fix-974
Add yum-utils package to be installed on Amazon Linux
2016-11-18 07:01:03 -07:00
rallytime
6f56cbdb4d Make sure cloud linux releasever matches our repo layout 2016-11-15 16:27:48 -07:00
rallytime
71cc2cfa2d Add CloudLinux support 2016-11-14 15:24:04 -07:00
Mike Place
7dede318d5 Apply the insecure flag to git as well 2016-10-27 11:59:45 +09:00