FreeBSD Ports

sysutils/py-salt 3008.2,1

Distributed remote execution and configuration management system

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
344b4b0f44
License
APACHE20
Categories
sysutils, python
Package size
7336.4 KiB, 52789.7 KiB installed

Description

Salt : Remote Execution and State Manager

Salt is a powerful remote execution and state manager that can be used to administer servers in a fast and efficient way.

See also: https://saltproject.io/

Install

As a binary package — by origin, or by package name:

pkg install sysutils/py-salt
pkg install py312-salt

From the ports tree:

cd /usr/ports/sysutils/py-salt/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-salt>0:sysutils/py-salt

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3008.2,13008.2,13005.13006.9_6,13008.2,1
FreeBSD:14:quarterly3008.2,13008.2,1n/a3006.9_6,13008.2,1
FreeBSD:15:latest3008.2,13008.2,1n/a3006.9_6,13006.9_6,1
FreeBSD:15:quarterly3008.2,13008.2,1n/an/an/a
FreeBSD:16:latest3008.2,13008.2,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 5

Runtime 38

The full lists below include those, and their dependencies in turn.

All build dependencies 24
All run dependencies 95

Configuration

Options name: sysutils_salt

OptionDefaultDescription
AWSoffInstall dependencies required for Amazon Web Services
BASHonInstall programmable completions for Bash
FISHonInstall programmable completions for Fish
TCPoffInstall dependencies required for TCP transport
ZEROMQonInstall dependencies required for ZeroMQ transport
ZSHonInstall programmable completions for zsh
USES
cpe python
Service scripts
salt_api, salt_master, salt_minion, salt_proxy, salt_syndic
Conflicts with
py[0-9]*-salt-300*

Message after installing

To configure a Salt Master, do the following:

  o Copy /usr/local/etc/salt/master.sample to /usr/local/etc/salt/master
  o Update to meet your needs
  o sysrc salt_master_enable="YES"



To configure a Salt Minion, do the following:

  o Copy /usr/local/etc/salt/minion.sample to /usr/local/etc/salt/minion
  o Update 'master: salt' to point to your Salt Master's hostname or IP
  o sysrc salt_minion_enable="YES"



To configure a Salt Proxy Minion, do the following:

  o sysrc salt_proxy_enable="YES"
  o sysrc salt_proxy_list=""
  o Update the salt_proxy_list with the proxy minion name(s)



To change the Transport method from the default option of Zeromq to either TCP or RAET:

  o Re-build the port with the desired options enabled to install the correct runtime dependencies
  o Ensure the master and minions all have salt installed with these same options and dependencies
  o Add the line 'transport: [tcp|raet]' to both the master and minion configuration files
  o Restart salt on the master and minions

Files

pkg-plist 2
  • @sample etc/py312-salt/master.sample
  • @sample etc/py312-salt/minion.sample
distinfo 2
FileSizeSHA256
salt-3008.2.tar.gz1.5126429e+0744a1e206a955bf57aaffbe3f1dfb5f4476c9442d64f3a103ce7ac0aa68bfa907
69710.patch11606ae990a40a7eb06f5dec321609e42c20b3d1847b73ed3c2876f5ac05184565d7b
Master sites 1
  • PYPI

Commit history 2

DateCommitCreditsLog message
344b4b0f44 Alan Somers sysutils/py-salt: 3008.2
Version 3008.1 version works with Python 3.12+. However, it lacks many states included in Salt 3006, for example ZFS. Version 3008.2 fixes a regression in the pkg.installed state, though it wasn't mentioned in Salt's changelog. PR: 296290 Approved by: krion (maintainer) Sponsored by: ConnectWise
5745d12eea Alan Somers devel/py-backports.*: resolve conflicts with devel/py-backports
devel/py-backports does basically nothing except to install the /usr/local/lib/python3.*/site-packages/backports/__init__.py file. Several other py-backports.* ports also installed the same file, with identical contents. That created runtime conflicts that prevented certain ports from being installed, including sysutils/py-salt. Fix the conflicts by patching the offending ports to stop installing that file, and instead depend on devel/py-backports. PR: 297696 PR: 297697 Reviewed by: krion Sponsored by: ConnectWise Inspired by: 56a719e6b67 (svn r492366)