2012-02-25 21:51:46 +00:00
|
|
|
==========
|
|
|
|
Arch Linux
|
|
|
|
==========
|
2012-02-25 21:15:11 +00:00
|
|
|
|
2012-02-25 21:41:27 +00:00
|
|
|
Installation
|
|
|
|
============
|
|
|
|
|
2014-07-10 21:46:52 +00:00
|
|
|
Salt (stable) is currently available via the Arch Linux Official repositories.
|
|
|
|
There are currently -git packages available in the Arch User repositories (AUR)
|
|
|
|
as well.
|
2012-02-25 21:41:27 +00:00
|
|
|
|
|
|
|
Stable Release
|
|
|
|
--------------
|
|
|
|
|
2014-07-10 21:30:59 +00:00
|
|
|
Install Salt stable releases from the Arch Linux Official repositories as follows:
|
2012-02-29 20:41:38 +00:00
|
|
|
|
|
|
|
.. code-block:: bash
|
2012-02-25 21:41:27 +00:00
|
|
|
|
2017-01-04 18:08:47 +00:00
|
|
|
pacman -S salt
|
2014-12-30 19:28:15 +00:00
|
|
|
|
2012-02-25 21:41:27 +00:00
|
|
|
Tracking develop
|
|
|
|
----------------
|
|
|
|
|
2012-03-15 00:09:19 +00:00
|
|
|
To install the bleeding edge version of Salt (**may include bugs!**),
|
2012-11-25 16:23:01 +00:00
|
|
|
use the -git package. Installing the -git package as follows:
|
2012-02-29 20:41:38 +00:00
|
|
|
|
|
|
|
.. code-block:: bash
|
2012-02-25 21:41:27 +00:00
|
|
|
|
|
|
|
wget https://aur.archlinux.org/packages/sa/salt-git/salt-git.tar.gz
|
|
|
|
tar xf salt-git.tar.gz
|
|
|
|
cd salt-git/
|
|
|
|
makepkg -is
|
|
|
|
|
2014-07-10 21:30:59 +00:00
|
|
|
.. note:: yaourt
|
|
|
|
|
|
|
|
If a tool such as Yaourt_ is used, the dependencies will be
|
|
|
|
gathered and built automatically.
|
|
|
|
|
|
|
|
The command to install salt using the yaourt tool is:
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
yaourt salt-git
|
|
|
|
|
|
|
|
.. _Yaourt: https://aur.archlinux.org/packages.php?ID=5863
|
2012-02-25 21:41:27 +00:00
|
|
|
|
2012-11-25 16:23:01 +00:00
|
|
|
Post-installation tasks
|
|
|
|
=======================
|
2012-02-25 21:41:27 +00:00
|
|
|
|
2013-02-12 03:43:56 +00:00
|
|
|
**systemd**
|
2012-02-25 21:41:27 +00:00
|
|
|
|
2013-02-12 03:43:56 +00:00
|
|
|
Activate the Salt Master and/or Minion via ``systemctl`` as follows:
|
2012-02-29 20:41:38 +00:00
|
|
|
|
2013-02-12 03:43:56 +00:00
|
|
|
.. code-block:: bash
|
2012-02-25 21:41:27 +00:00
|
|
|
|
2013-02-12 03:43:56 +00:00
|
|
|
systemctl enable salt-master.service
|
|
|
|
systemctl enable salt-minion.service
|
2012-02-25 21:41:27 +00:00
|
|
|
|
2012-02-29 20:41:38 +00:00
|
|
|
**Start the Master**
|
|
|
|
|
2012-02-25 21:41:27 +00:00
|
|
|
Once you've completed all of these steps you're ready to start your Salt
|
|
|
|
Master. You should be able to start your Salt Master now using the command
|
2012-02-29 20:41:38 +00:00
|
|
|
seen here:
|
|
|
|
|
|
|
|
.. code-block:: bash
|
2012-02-25 21:41:27 +00:00
|
|
|
|
2013-02-12 03:43:56 +00:00
|
|
|
systemctl start salt-master
|
2012-02-25 21:41:27 +00:00
|
|
|
|
2016-12-15 23:50:16 +00:00
|
|
|
Now go to the :ref:`Configuring Salt<configuring-salt>` page.
|