mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove salt FreeBSD repo which is now 2 years out of date
The saltstack repository has the 2016 version is current. Its not being updated, but there is a perfectly good port in the FreeBSD tree to use instead. Enhance the documentation on how to install that from binary or source.
This commit is contained in:
parent
f8c0266569
commit
b70c45c297
1 changed files with 11 additions and 29 deletions
|
@ -5,49 +5,31 @@ FreeBSD
|
|||
Installation
|
||||
============
|
||||
|
||||
Salt is available in binary package form from both the FreeBSD pkgng repository
|
||||
or directly from SaltStack. The instructions below outline installation via
|
||||
both methods:
|
||||
Salt is available in the FreeBSD ports at `sysutils/py-salt. <https://www.freshports.org/sysutils/py-salt/>`__
|
||||
|
||||
FreeBSD repo
|
||||
============
|
||||
|
||||
The FreeBSD pkgng repository is preconfigured on systems 10.x and above. No
|
||||
configuration is needed to pull from these repositories.
|
||||
FreeBSD binary repo
|
||||
===================
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
pkg install py27-salt
|
||||
|
||||
These packages are usually available within a few days of upstream release.
|
||||
FreeBSD ports
|
||||
=============
|
||||
|
||||
.. _freebsd-upstream:
|
||||
By default salt is packaged using python 2.7, but if you build your own packages from FreeBSD ports either by hand or with poudriere you can instead package it with your choice of python. Add a line to /etc/make.conf to choose your python flavour:
|
||||
|
||||
SaltStack repo
|
||||
==============
|
||||
.. code-block:: shell
|
||||
|
||||
SaltStack also hosts internal binary builds of the Salt package, available from
|
||||
https://repo.saltstack.com/freebsd/. To make use of this repository, add the
|
||||
following file to your system:
|
||||
echo "DEFAULT_VERSIONS+= python=3.6" >> /etc/make.conf
|
||||
|
||||
**/usr/local/etc/pkg/repos/saltstack.conf:**
|
||||
|
||||
.. code-block:: text
|
||||
|
||||
saltstack: {
|
||||
url: "https://repo.saltstack.com/freebsd/${ABI}/",
|
||||
enabled: yes
|
||||
}
|
||||
|
||||
You should now be able to install Salt from this new repository:
|
||||
Then build the port and install:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
pkg install py27-salt
|
||||
|
||||
These packages are usually available earlier than upstream FreeBSD. Also
|
||||
available are release candidates and development releases. Use these pre-release
|
||||
packages with caution.
|
||||
cd /usr/ports/sysutils/py-salt
|
||||
make install
|
||||
|
||||
Post-installation tasks
|
||||
=======================
|
||||
|
|
Loading…
Add table
Reference in a new issue