This project has been archived by its maintainers, and is no longer receiving any updates.
slskit
Usage: slskit [OPTIONS] COMMAND [ARGS]...
Options:
--version Show the version and exit.
-c, --config TEXT path to slskit configuration file (default:
slskit.yaml or slskit.yml)
-l, --log-level [CRITICAL|FATAL|ERROR|WARN|WARNING|INFO|DEBUG|NOTSET|VERBOSE|QUIET|PROFILE|TRACE|GARBAGE]
--salt-output TEXT Alternative Salt outputter, e.g. nested,
json, yaml, etc.
--help Show this message and exit.
Commands:
highstate render highstate for specified minions
pillars render pillar items for specified minions
refresh invoke saltutil.sync_all runner
sls render a given sls for specified minions
template render a file template for specified minions
- Supported Python versions: 3.9.2, 3.10, 3.11, 3.12.5
- Supported Salt versions: 3006, 3007
Known issues:
- Salt 3006 on Python 3.12 is broken
- Python 3.9.0 and 3.9.1 are not supported by cryptography, see https://github.com/pyca/cryptography/pull/12045
- Python 3.12.6 and up is broken, see https://github.com/saltstack/salt/issues/66898
- YAML output is broken, see https://github.com/saltstack/salt/issues/66594
Workaround for OpenSSL issues on macOS
If slskit is failing with an error like this: OSError: Cannot locate OpenSSL libcrypto, try setting the following environment variable:
export HOMEBREW_PREFIX=/usr/local
Below is an old hackaround:
If slskit fails with zsh: abort or Abort trap: 6, inspect the error by running the command with PYTHONDEVMODE=1. If the issue is with _load_libcrypto call in rsax931.py, edit salt/utils/rsax931.py line 38:
-lib = find_library('crypto')
+lib = "/usr/local/opt/openssl@1.1/lib/libcrypto.dylib"
More info:
- https://github.com/saltstack/salt/issues/55084
- https://github.com/Homebrew/homebrew-core/pull/45895/files#diff-5bdebf3b9146d50b15f9a0dc7e7def27R131-R133
Workaround for exception raised when processing virtual function
When seeing errors like these:
ERROR:salt.loader:Exception raised when processing __virtual__ function for salt.loaded.int.module.freebsdkmod. Module will not be loaded: 'kernel'
WARNING:salt.loader:salt.loaded.int.module.freebsdkmod.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'freebsdkmod', please fix this.
You may need to add a corresponding grain to slskit.yaml file, e.g.:
# slskit.yaml
slskit:
roster:
foo:
grains:
kernel: Linux
You can find values for grains by inspecting grains.items on your real minions.
How to keep your grains DRY
Use default_grains option to avoid duplicating the same grains over all minions:
# slskit.yaml
slskit:
roster:
foo:
bar:
baz:
default_grains:
os: Ubuntu
For more advanced cases use YAML anchors:
# slskit.yaml
_grains:
ubuntu: &ubuntu
os: Ubuntu
fedora: &fedora
os: Fedora
slskit:
roster:
u1:
grains:
<<: *ubuntu
u2:
grains:
<<: *ubuntu
f1:
grains:
<<: *fedora
f2:
grains:
<<: *fedora
How to reduce output verbosity
Use Salt's output configuration option, e.g.:
# slskit.yaml
salt:
output: yaml
slskit:
...
External links
Metadata
Release files for slskit 2025.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| slskit-2025.3.0.tar.gz | 6.0 kB | Without provenance | Details for slskit-2025.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| slskit-2025.3.0-py3-none-any.whl | Python 3 | none | any | Details for slskit-2025.3.0-py3-none-any.whl |
Total release size: 14.9 kB
Release files / slskit-2025.3.0.tar.gz
| Download URL | slskit-2025.3.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba17dbc8ee0b501e873afbd1b5ac4706899cc809004471ef950b0e322dc941e6
|
|
BLAKE2b-256 checksum How to use checksums |
975dddff3cb0d1672aa946b7da7d0bcb46e29d23cd73ea7f9b8da10a3f696a95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.10.16 Darwin/24.3.0
|
Release files / slskit-2025.3.0-py3-none-any.whl
| Download URL | slskit-2025.3.0-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
751a4d5cb6108d967da24e1d2824f16c6b7f769e85509fb7e5d968a2b43a3861
|
|
BLAKE2b-256 checksum How to use checksums |
acb460d641cc7e7ef27df3db8565f94766d527864050fe59f63651b1eb2fa613
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.10.16 Darwin/24.3.0
|
Security for slskit 2025.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.