IDEM-LINUX
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 corn 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 corn and idem:
pop-seed -t v idem-{specific_linux_distro} -d corn exec states
“-t v” specifies that this is a vertically app-merged project
“-d corn exec states” says that we want to implement the dynamic names of “corn”, “exec”, and “states”
Add “idem-linux” to the requirements.txt:
echo "idem-linux @ git+https://gitlab.com/saltstack/pop/idem-linux.git" >> requirements.txt
And that’s it! Go to town making corn, 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 6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| idem-linux-6.tar.gz | 44.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| idem_linux-6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 83.3 kB
Release files / idem-linux-6.tar.gz
| Download URL | idem-linux-6.tar.gz |
|---|---|
| Size | 44.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb1c5392ee2f84ab39170f5e679a84d4df945e0b57207eb90c4a8e765a6ce2cf
|
|
BLAKE2b-256 checksum How to use checksums |
784c5f9a02d7c4d3f3ba82de7cf8d72a0089c697d5cf23025032108be89a1d4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Release files / idem_linux-6-py3-none-any.whl
| Download URL | idem_linux-6-py3-none-any.whl |
|---|---|
| Size | 38.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b346d898b703b63aadfebfea74051c53750b70eb9291a200cefa30cbac7862e9
|
|
BLAKE2b-256 checksum How to use checksums |
8c4f997590d9c376ac4e019caf42e01864229a9248014e4786cfd81b899462b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|