Vertical app merge components for idem and grains to support windows
Project description
Grains, execution modules, and state modules common to all windows systems
INSTALLATION
Clone the idem-windows repo and install with pip:
git clone https://gitlab.com/saltstack/pop/idem-windows.git pip install -e idem-windows
EXECUTION
After installation the grains command should now be available
TESTING
install requirements-test.txt with pip and run pytest:
pip install -r idem_windows\requirements-test.txt pytest idem_windows\tests
VERTICAL APP-MERGING
Instructions for extending idem-windows into another POP project:
Install pop:
pip install --upgrade pop
Create a new directory for the project:
mkdir idem_{windows_project_name} cd idem_{windows_project_name}
Use pop-seed to generate the structure of a project that extends grains, idem, and states:
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 “idem-windows” to the requirements.txt:
echo "idem-windows" >> requirements.txt
And that’s it! Go to town making your own unique grains, execution modules, and state modules. Your new project automatically has access to everything in idem_windows through the hub. Follow the conventions you see in idem_windows.
For information about running idem states and execution modules check out https://idem.readthedocs.io
To read about the hub and learn about POP read https://pop.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-windows-5.2.tar.gz
.
File metadata
- Download URL: idem-windows-5.2.tar.gz
- Upload date:
- Size: 25.7 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 | dd1420f22177ffd6c700e440b963838c8d9b6a46ba56372cf9cce829be52de5e |
|
MD5 | b782f35296aaeb3191b00a94a3a21f79 |
|
BLAKE2b-256 | f7d5ca70e7cfef484c6ca85d9ee8bd1d7b0eaa83a9754b308aaacbe44cf0026a |
File details
Details for the file idem_windows-5.2-py3-none-any.whl
.
File metadata
- Download URL: idem_windows-5.2-py3-none-any.whl
- Upload date:
- Size: 32.4 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 | 8c3fa401bf82ee955f0902215c17a58bb13129868352fe67b52d3b6c6e808e8e |
|
MD5 | f5090a9aec1ce507242239efa8799ba7 |
|
BLAKE2b-256 | d2d1d3d9d12205185022189465cec56e6fcf1e369364c77ef0402b29df53b20a |