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
Metadata
Release files for idem-windows 4
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-windows-4.tar.gz | 26.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| idem_windows-4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.5 kB
Release files / idem-windows-4.tar.gz
| Download URL | idem-windows-4.tar.gz |
|---|---|
| Size | 26.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7cec1b4fe34541559f9249fd361080a310f9cdd4006708db73bd3c98d4f88b79
|
|
BLAKE2b-256 checksum How to use checksums |
f4780f6867fc27d0021092d74b4696f9481df48d2f0d8fd29f829f57c0d9d354
|
| 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.1 CPython/3.8.3
|
Release files / idem_windows-4-py3-none-any.whl
| Download URL | idem_windows-4-py3-none-any.whl |
|---|---|
| Size | 32.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33ad06e9543c15fd9713d90bdf9411a4a031dfc5f95052a77785702c9fe30a48
|
|
BLAKE2b-256 checksum How to use checksums |
7724216649361dd40689cd85a66da68daaa39778b2959e146022e0a9f6c583b7
|
| 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.1 CPython/3.8.3
|