Grains, execution modules, and state modules common to all linux systems
INSTALLATION
Install with pip:
pip install idem-linux
DEVELOPMENT INSTALLATION
Clone the idem-linux repo and install with pip:
git clone https://gitlab.com/saltstack/pop/idem-linux.git idem_linux pip install -e idem_linux
EXECUTION
After installation the grains command should now be available
TESTING
install requirements-test.txt with pip and run pytest:
pip install -r idem-linux/requirements-test.txt pytest idem-linux/tests
VERTICAL APP-MERGING
Instructions for extending idem-linux into an OS or distro specific pop project
Install pop:
pip install --upgrade pop
Create a new directory for the project:
mkdir idem-{specific_linux_distro}
cd idem-{specific_linux_distro}
Use pop-seed to generate the structure of a project that extends grains and idem:
pop-seed -t v idem-{specific_linux_distro} -d grains exec states
“-t v” specifies that this is a vertically app-merged project
“-d grains exec states” says that we want to implement the dynamic names of “grains”, “exec”, and “states”
Add “idem-linux” to the requirements.txt:
echo idem-linux >> requirements.txt
And that’s it! Go to town making grains, execution modules, and state modules specific to your linux distro. Follow the conventions you see in idem-linux.
For information about running idem states and execution modules check out https://idem.readthedocs.io
Metadata
Release files for idem-linux 7.2
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 | |
|---|---|---|---|---|
| idem-linux-7.2.tar.gz | 22.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| idem_linux-7.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.2 kB
Release files / idem-linux-7.2.tar.gz
| Download URL | idem-linux-7.2.tar.gz |
|---|---|
| Size | 22.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9659fad3821c4e7150fb36a6f885a950024c36be80abdeebef96d2e7e823da7b
|
|
BLAKE2b-256 checksum How to use checksums |
49948638eb42ca491e7bb8b5d5bfb7c3ca0dd01e1150693b915ef354cf8dd4cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Release files / idem_linux-7.2-py3-none-any.whl
| Download URL | idem_linux-7.2-py3-none-any.whl |
|---|---|
| Size | 27.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6688128d58b547b49f88192d63ce587b58ba418c3bb042a0ef5bbd615a4e1a8a
|
|
BLAKE2b-256 checksum How to use checksums |
5099e5f58fcb80aef22a667adb551777db74abe6c228f6147181d6752c9736e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Security for idem-linux 7.2
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.