Vertical app merge components for idem and corn to support windows
Project description
Grains, execution modules, and state modules common to all windows systems
INSTALLATION
Pip install grains:
pip install -e git+https://gitlab.com/saltstack/pop/grains.git#egg=chunkies
Clone the pop_windows repo and install with pip:
git clone https://gitlab.com/saltstack/pop/pop_windows.git pip install -e pop_windows
EXECUTION
After installation the grains command should now be available
TESTING
install requirements-test.txt with pip and run pytest:
pip install -r pop_windows\requirements-test.txt pytest pop_windows\tests
VERTICAL APP-MERGING
Instructions for extending pop-windows into an OS or distro specific pop project
Install pop:
pip install --upgrade pop
Create a new directory for the project:
mkdir pop_{specific_windows_system} cd pop_{specific_windows_system}
Use pop-seed to generate the structure of a project that extends grains and idem:
pop-seed -t v pop_{specific_windows_system} -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 “pop_windows” to the requirements.txt:
echo "pop_windows @ git+https://gitlab.com/saltstack/pop/pop_windows.git" >> requirements.txt
And that’s it! Go to town making grains, execution modules, and state modules specific to your unique windows system. Follow the conventions you see in pop_windows.
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
Hashes for idem_windows-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 873bddb7346ecbe10272f18576742ca2b9a8acda260d0ada75d047be0b19286b |
|
MD5 | 7d6ca9e5d529f1d3056d65c677a9c810 |
|
BLAKE2b-256 | 08b21bc22a7d2240582fc567d62855adf0ba81afcf613acbcade0d3d38fc1d19 |