Commit graph

2705 commits

Author SHA1 Message Date
Nicole Thomas
810110ede5 Merge pull request #1099 from rallytime/fix-1085
Update Debian and Ubuntu service file paths to be consistent with salt
2017-06-13 14:37:08 -06:00
Nicole Thomas
74eb529f2f Merge pull request #1102 from BlaineAtAffirm/patch-1
Fix ubuntu 16.04 LTS installation
2017-06-13 14:36:46 -06:00
BlaineAtAffirmOnceMore
9d30fce268 Fix ubuntu 16.04 LTS installation
error was
```
18:24:59 Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
18:24:59 Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease

18:24:59 Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
18:24:59 Hit:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
18:24:59 Ign:5 https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2015.8 jessie InRelease
18:24:59 Ign:6 https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2015.8 jessie Release
18:24:59 Ign:7 https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2015.8 jessie/main amd64 Packages
18:24:59 Ign:8 https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2015.8 jessie/main all Packages
18:24:59 Ign:7 https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2015.8 jessie/main amd64 Packages
18:24:59 Ign:8 https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2015.8 jessie/main all Packages
18:24:59 Ign:7 https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2015.8 jessie/main amd64 Packages
18:25:00 Ign:8 https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2015.8 jessie/main all Packages
18:25:00 Ign:7 https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2015.8 jessie/main amd64 Packages
18:25:00 Ign:8 https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2015.8 jessie/main all Packages
18:25:00 Ign:7 https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2015.8 jessie/main amd64 Packages
18:25:00 Ign:8 https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2015.8 jessie/main all Packages
18:25:00 Err:7 https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2015.8 jessie/main amd64 Packages
18:25:00   404  Not Found
18:25:00 Ign:8 https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2015.8 jessie/main all Packages

18:25:01 Reading package lists...
18:25:01 W: The repository 'https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2015.8 jessie Release' does not have a Release file.
18:25:01 E: Failed to fetch https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2015.8/dists/jessie/main/binary-amd64/Packages  404  Not Found
18:25:01 E: Some index files failed to download. They have been ignored, or old ones used instead.
18:25:01  * ERROR: Failed to run install_ubuntu_stable_deps()!!!
```
2017-06-13 13:08:03 -07:00
Nicole Thomas
7a9fb2664f Merge pull request #1100 from saltstack/add-code-of-conduct
Add the CODE_OF_CONDUCT.md file
2017-06-13 12:16:31 -06:00
Nicole Thomas
882a89746b Merge pull request #1101 from rallytime/fix-1083
Add debian_codename_translation function, similar to Ubuntu
2017-06-13 09:08:59 -06:00
rallytime
a7c251f8f4 Add debian_codename_translation function, similar to Ubuntu
Fixes #1083

This is a simpler function than the one needed for the Ubuntu
codename translations, but will still be helpful moving foward
with Debian support as Debian 9 comes out.
2017-06-12 16:45:43 -06:00
Nicole Thomas
77bdf389ab Add the CODE_OF_CONDUCT.md file 2017-06-12 16:27:24 -06:00
rallytime
6ecd4f0c59 Update Debian and Ubuntu service file paths to be consistent with salt
Fixes #1085

In https://github.com/saltstack/salt/pull/41446, the issue was raised
about where the salt packages are pulling the various service files from.

There are the pkg/* files, the pkg/deb/* files, and the pkg/debian/* files
to choose from. However, it was noted in the comment located here:
https://github.com/saltstack/salt/pull/41446#issuecomment-304989819 that
only the pkg/* files are actively updated. The pkg/deb/* and pkg/debian/*
files are old artifacts that have not yet been cleaned up.

Therefore, the bootstrap script should not use these service file locations
and should match what the salt packages do.
2017-06-12 15:42:30 -06:00
rallytime
20742b06be Add hash verification information to installation instructions
Fixes #1043
2017-06-12 10:44:25 -06:00
Nicole Thomas
9f92fbe5e6 Merge pull request #1097 from rallytime/fix-1090
Fix installing salt-cloud package on Arch Linux
2017-06-12 09:57:11 -06:00
rallytime
6c0fad6a84 Fix installing salt-cloud package on Arch Linux
When passing the ``-L`` option to the bootstrap script to install
the salt-cloud package, the ``apache-libcloud`` package must be
installed.

However, on Arch Linux this packages is named ``python2-apache-libcloud``.

This commit updates the name of the libcloud package to be installed
on Arch Linux so that the ``-L`` option can be executed successfully.

Fixes #1090
2017-06-12 09:51:25 -06:00
Nicole Thomas
75ae772b33 Merge pull request #1096 from vutny/support-debian-9
Support bootstrapping on upcoming Debian GNU/Linux 9.0
2017-06-12 08:52:18 -06:00
Denys Havrysh
b41c3056b7 Fix comment about Debian EOL releases 2017-06-12 11:57:15 +03:00
Denys Havrysh
eaa387b985 Support bootstrapping on upcoming Debian GNU/Linux 9.0 2017-06-12 11:18:01 +03:00
James Booth
c42f8d617e Removes faulty explicit version ordering 2017-06-11 20:41:38 +01:00
Nicole Thomas
1bc17a6fa6 Merge pull request #1093 from vutny/issue-724-amazon-drop-epel
Remove configuring EPEL repo for Amazon Linux
2017-06-09 13:37:32 -06:00
Nicole Thomas
ee995e819e Merge pull request #1092 from vutny/debian-fix-json-config-options
Fix -j/-J (JSON configs) options for Debian 8
2017-06-09 13:10:20 -06:00
Denys Havrysh
bbf9c8c643 Remove configuring EPEL repo for Amazon Linux 2017-06-08 12:30:08 +03:00
Denys Havrysh
c2512ed5a7 Fix -j/-J (JSON configs) options for Debian 8
Add `python-yaml` package before calling `apt-get`.
Also remove duplicate functions.
2017-06-07 10:58:48 +03:00
Denys Havrysh
b128e33e40 Fix #1035: detect and log errors earlier
* Write out most of output to the logging pipe except usage info.

* Detect obvious errors before trying to check inconsistency in
provided command line options.
2017-06-06 13:56:52 +03:00
Nicole Thomas
74d3286728 Merge pull request #1089 from rallytime/authors
Update AUTHORS file
2017-06-02 11:18:38 -06:00
Nicole Thomas
ba5e3405cb Merge pull request #1082 from rallytime/fix-1081
Fix the -R option on Debian/Ubuntu
2017-06-02 09:44:46 -06:00
rallytime
5ceef71668 Lint Fixes 2017-06-02 09:40:24 -06:00
rallytime
252124f9a6 Update AUTHORS file 2017-06-02 09:29:35 -06:00
rallytime
ff9db2a14a Just use exit numbers instead of truth values for return codes 2017-06-02 09:27:00 -06:00
rallytime
295852d7b1 Warn that armhf packages are not available for Ubuntu or Debian 7
- Added checks and warnings for armhf packages not supported on Ubuntu/Debian 7
- Moved __check_dpkg_architecture below __ubuntu_derivatives_translation function
  to use the "DISTRO_NAME_L" value
- Added return codes to various warning cases since if we detect an unsupported
  architecture, we should fail sooner.
2017-06-02 09:27:00 -06:00
rallytime
6c0f6c06e6 Lint fix 2017-06-02 09:27:00 -06:00
rallytime
db26b1608d Use case statement in dpkg check function to simplify error logging 2017-06-02 09:27:00 -06:00
rallytime
0d8069ee2a Spell the function name correctly... 2017-06-02 09:27:00 -06:00
rallytime
bbb153f030 Create a function to setup the saltstack repo for debian
This function combines the previous efforts to install the correct
saltstack repo for debian 7 and debian 8 into a single codeblock.

This change also fixes the issue where Debian installations using
the -R option were not working.
2017-06-02 09:27:00 -06:00
rallytime
d3fc57fe18 Typo fix: els --> else 2017-06-02 09:27:00 -06:00
rallytime
a3db8ffa5c Create a function to setup the saltstack repo for ubuntu
And remove legacy support for pre-repo.saltstack.com packages for
Ubuntu.

This change also fixes the issue where Ubuntu installations using
the -R option were not working.
2017-06-02 09:27:00 -06:00
rallytime
caa6d7dd2c Move dpkg architecture warnings into a single function 2017-06-02 09:27:00 -06:00
Nicole Thomas
e6704b6ad5 Merge pull request #1087 from decomposite/gentoo_ensure_presence
Ensure presence of CONFIG_PROTECT_MASK files
2017-06-02 09:25:56 -06:00
Nicole Thomas
d361413541 Merge pull request #1088 from decomposite/preemptive_autounmask
Autounmask as separate step
2017-06-02 09:18:09 -06:00
JD Friedrikson
b92d5eade4
Autounmask as separate step
When autounmask-write is set and there is a flag that needs to be
written, emerge will write the change and then exit without building.
This change should avoid cases where nothing will build because of this
behavior.
2017-06-01 20:12:24 -04:00
JD Friedrikson
d690a88a2f
Ensure presence of CONFIG_PROTECT_MASK files
Right now, portage will treat absent files as protected.

In order to get around this, we need to make sure they're there.
2017-06-01 19:52:38 -04:00
Nicole Thomas
c8d79f0d00 Merge pull request #1084 from rallytime/update-fedora-support
Update Fedora support: 23 is EOL now.
2017-05-31 08:30:53 -06:00
rallytime
e549a00de9 Update Fedora support
Fedora 23 reached EOL in December of 2016, so this just updates
the script and README to match that support.
2017-05-30 11:51:20 -06:00
Nicole Thomas
ae7b954c6e Merge pull request #1080 from vutny/ubuntu12lts-eol
Declare End-Of-Life for Ubuntu 12.04 LTS
2017-05-26 09:21:47 -06:00
Denys Havrysh
f156f5c2a3 Fix comments about EOL to match actual checks 2017-05-26 10:19:33 +03:00
Denys Havrysh
0d66b66d69 Drop workarounds for Ubuntu releases less than 14.04 LTS 2017-05-25 10:52:11 +03:00
Denys Havrysh
5b7c6cab09 Detect EOL distro versions even earlier 2017-05-25 10:52:11 +03:00
Denys Havrysh
e7638ce018 Declare End-Of-Life for Ubuntu 12.04 LTS
This drops support for Ubuntu releases less than 14, including all
derivatives based on those releases.
2017-05-25 10:52:11 +03:00
Nicole Thomas
9ce236cbb5 Merge pull request #1078 from Ch3LL/update_changelog
Update version and changelog for May Bootstrap Release
2017-05-24 11:13:33 -06:00
Ch3LL
583001932c
Update version and changelog for v2017.05.24 2017-05-24 13:06:48 -04:00
Nicole Thomas
eda32dec65 Merge pull request #1077 from Ch3LL/update_authors
Update AUTHORS.rst with new contributors
2017-05-24 10:17:49 -06:00
Ch3LL
244c72d2bc
Update AUTHORS.rst with new contributors 2017-05-24 11:55:00 -04:00
Nicole Thomas
8adc35e6f7 Merge pull request #1076 from Ch3LL/freebsd_repo
Use freebsd repo to query for salt dependencies
2017-05-23 11:16:37 -06:00
Ch3LL
25e58532aa
use freebsd repo to query for salt dependencies 2017-05-23 13:03:04 -04:00