Vertical app merge components for Idem and corn support on Linux
Project description
Grains, execution modules, and state modules common to all linux systems
INSTALLATION
Pip install corn:
pip install -e git+https://gitlab.com/saltstack/pop/corn.git
Clone the idem-linux repo and install with pip:
git clone https://gitlab.com/saltstack/pop/idem-linux.git 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 pop-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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file idem-linux-1.tar.gz
.
File metadata
- Download URL: idem-linux-1.tar.gz
- Upload date:
- Size: 24.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c287107cc5971d1910d7fe0d9f0b2af85830709646026d8dd2e536b8a64aa7b4 |
|
MD5 | 82ea43a98f05503bef51547d39ec27b2 |
|
BLAKE2b-256 | 01f6a62113d3af4142958142080bc86c925011f579344c21fb4015984c74826a |
File details
Details for the file idem_linux-1-py3-none-any.whl
.
File metadata
- Download URL: idem_linux-1-py3-none-any.whl
- Upload date:
- Size: 32.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8b77472c545c29997aac61c14d97dcf57ec295f4f4aa77d20ce4e2bee34499c |
|
MD5 | 70a2959c0b2bb011280627147b84f611 |
|
BLAKE2b-256 | 44952f0fb70e86e5b7cccf2dccd1184daf7da80d39889cadf444ecc0ef1a1401 |