2015-09-17 15:23:24 +00:00
|
|
|
:orphan:
|
|
|
|
|
2016-10-07 19:50:03 +00:00
|
|
|
.. _release-candidate:
|
|
|
|
|
2014-08-12 20:53:21 +00:00
|
|
|
===========================================
|
|
|
|
Installing/Testing a Salt Release Candidate
|
|
|
|
===========================================
|
|
|
|
|
2016-04-07 15:41:46 +00:00
|
|
|
It's time for a new feature release of Salt! Follow the instructions below to
|
2016-12-15 23:45:51 +00:00
|
|
|
install the latest release candidate of Salt, and try :ref:`all the shiny new
|
2018-03-02 17:02:21 +00:00
|
|
|
features <release-2018-3-0>`! Be sure to report any bugs you find on `Github
|
2016-04-07 15:41:46 +00:00
|
|
|
<https://github.com/saltstack/salt/issues/new/>`_.
|
|
|
|
|
|
|
|
Installing Using Packages
|
|
|
|
=========================
|
|
|
|
|
2016-10-10 17:36:48 +00:00
|
|
|
Builds for a few platforms are available as part of the RC at https://repo.saltstack.com/salt_rc/.
|
2016-04-25 21:26:45 +00:00
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
For RHEL and Ubuntu, Follow the instructions on
|
|
|
|
https://repo.saltstack.com/, but insert ``salt_rc/`` into the URL between
|
|
|
|
the hostname and the remainder of the path. For example:
|
|
|
|
|
2016-10-10 17:36:48 +00:00
|
|
|
.. code-block:: bash
|
2016-04-25 21:26:45 +00:00
|
|
|
|
|
|
|
baseurl=https://repo.saltstack.com/salt_rc/yum/redhat/$releasever/$basearch/
|
|
|
|
|
2016-11-08 16:42:12 +00:00
|
|
|
.. code-block:: none
|
2016-04-25 21:26:45 +00:00
|
|
|
|
|
|
|
deb http://repo.saltstack.com/salt_rc/apt/ubuntu/14.04/amd64 jessie main
|
2016-04-07 15:41:46 +00:00
|
|
|
|
|
|
|
Available builds:
|
|
|
|
|
2017-07-05 21:06:06 +00:00
|
|
|
- Ubuntu16
|
|
|
|
- Redhat7
|
2016-11-09 17:19:11 +00:00
|
|
|
- Windows
|
2016-10-11 22:30:50 +00:00
|
|
|
|
2016-11-09 17:19:11 +00:00
|
|
|
.. FreeBSD
|
2016-10-11 22:30:50 +00:00
|
|
|
|
2014-08-12 20:53:21 +00:00
|
|
|
Installing Using Bootstrap
|
|
|
|
==========================
|
|
|
|
|
2016-04-07 15:41:46 +00:00
|
|
|
You can install a release candidate of Salt using `Salt Bootstrap
|
|
|
|
<https://github.com/saltstack/salt-bootstrap/>`_:
|
2014-08-12 20:53:21 +00:00
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
curl -o install_salt.sh -L https://bootstrap.saltstack.com
|
2018-03-02 17:02:21 +00:00
|
|
|
sudo sh install_salt.sh -P git v2018.3.0rc1
|
2014-08-12 20:53:21 +00:00
|
|
|
|
2016-04-07 15:41:46 +00:00
|
|
|
If you want to also install a master using Salt Bootstrap, use the ``-M`` flag:
|
2014-08-12 20:53:21 +00:00
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
curl -o install_salt.sh -L https://bootstrap.saltstack.com
|
2018-03-02 17:02:21 +00:00
|
|
|
sudo sh install_salt.sh -P -M git v2018.3.0rc1
|
2014-08-12 20:53:21 +00:00
|
|
|
|
2016-04-07 15:41:46 +00:00
|
|
|
If you want to install only a master and not a minion using Salt Bootstrap, use
|
|
|
|
the ``-M`` and ``-N`` flags:
|
2014-08-12 20:53:21 +00:00
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
curl -o install_salt.sh -L https://bootstrap.saltstack.com
|
2018-03-02 17:02:21 +00:00
|
|
|
sudo sh install_salt.sh -P -M -N git v2018.3.0rc1
|
2014-08-12 20:53:21 +00:00
|
|
|
|
2016-04-07 15:41:46 +00:00
|
|
|
Installing Using PyPI
|
|
|
|
=====================
|
2014-08-12 20:53:21 +00:00
|
|
|
|
2016-04-07 15:41:46 +00:00
|
|
|
Installing from the `source archive
|
2018-03-02 17:02:21 +00:00
|
|
|
<https://pypi.python.org/pypi?:action=display&name=salt&version=2018.3.0rc1>`_ on
|
2016-04-07 15:41:46 +00:00
|
|
|
`PyPI <https://pypi.python.org/pypi>`_ is fairly straightforward.
|
2014-08-12 20:53:21 +00:00
|
|
|
|
2016-04-07 15:41:46 +00:00
|
|
|
.. note::
|
2014-08-12 20:53:21 +00:00
|
|
|
|
2016-04-07 15:41:46 +00:00
|
|
|
On RHEL derivatives you also need to install the ``epel-release`` package
|
|
|
|
first.
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
sudo yum install epel-release
|
|
|
|
|
|
|
|
First install the build dependencies.
|
2014-08-12 20:53:21 +00:00
|
|
|
|
2016-04-07 15:41:46 +00:00
|
|
|
- Debian-based systems:
|
2014-08-12 20:53:21 +00:00
|
|
|
|
2016-04-07 15:41:46 +00:00
|
|
|
.. code-block:: bash
|
2014-08-12 20:53:21 +00:00
|
|
|
|
2016-04-07 15:41:46 +00:00
|
|
|
sudo apt-get install python-pip python-dev gcc g++
|
2015-04-15 19:32:48 +00:00
|
|
|
|
2016-04-07 15:41:46 +00:00
|
|
|
- RedHat-based systems:
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
sudo yum install python-pip python-devel gcc gcc-c++
|
|
|
|
|
|
|
|
- other systems:
|
|
|
|
|
|
|
|
You will need to install:
|
|
|
|
|
|
|
|
- pip
|
|
|
|
- python header libraries
|
|
|
|
- C and C++ compilers
|
|
|
|
|
|
|
|
Then install salt using the following command:
|
|
|
|
|
|
|
|
.. code-block:: bash
|
2015-04-15 19:32:48 +00:00
|
|
|
|
2018-03-02 17:02:21 +00:00
|
|
|
sudo pip install salt==2018.3.0rc1
|