Vertical app merge components for Idem and grains support on Darwin
Project description
Grains, execution modules, and state modules common to all darwin systems
INSTALLATION
Install idem-darwin directly from pip:
pip install idem-darwin
DEVELOPMENT INSTALLATION
Clone the idem_darwin repo and install with pip:
git clone https://gitlab.com/saltstack/pop/idem-darwin.git idem_darwin pip install -e idem_darwin
EXECUTION
After installation the grains command should now be available
TESTING
install requirements-test.txt with pip and run pytest:
pip install -r idem_darwin/requirements-test.txt pytest idem_darwin/tests
VERTICAL APP-MERGING
Instructions for extending idem-darwin into an OS-specific idem project
Install pop:
pip install --upgrade pop
Create a new directory for the project:
mkdir idem_{specific_darwin_os} cd idem_{specific_darwin_os}
Use pop-seed to generate the structure of a project that extends grains and idem:
pop-seed -t v idem_{specific_darwin_os} -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_darwin” to the requirements.txt:
echo idem-darwin >> requirements.txt
And that’s it! Go to town making grains, execution modules, and state modules specific to your specific darwin-based platform. Follow the conventions you see in idem_darwin.
For information about running idem states and execution modules check out https://idem.readthedocs.io
Project details
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-darwin-8.tar.gz
.
File metadata
- Download URL: idem-darwin-8.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64b0b0bf19fac595f117083db2f7a8b476776bab073f73221bc0db6817a69d77 |
|
MD5 | 45cda012d4d2a4a3876bc454ba21402d |
|
BLAKE2b-256 | 696dc9c88035ce135d3d84fe57a192b2d5ac81227721af93ce3bbf22ec415edd |
File details
Details for the file idem_darwin-8-py3-none-any.whl
.
File metadata
- Download URL: idem_darwin-8-py3-none-any.whl
- Upload date:
- Size: 25.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 429188869b285837cc30555daca6bfeab816a6ae52c6bb49f104da6ab0b1dd57 |
|
MD5 | 27fb25e10b6a00dc2eac48f1ff00b354 |
|
BLAKE2b-256 | 44f88cd4589d3df51f5836086531f2dcd68f4462fd55cbde38dcf106162c95af |