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
Metadata
Release files for idem-windows 2
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-2.tar.gz | 22.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| idem_windows-2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.9 kB
Release files / idem-windows-2.tar.gz
| Download URL | idem-windows-2.tar.gz |
|---|---|
| Size | 22.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef7bf39673913d14696d2000c6797fbb3bf3fc64c21357babc030810b0f11aa6
|
|
BLAKE2b-256 checksum How to use checksums |
733f7e1fd8532e419403cf801cd8c0ab35b5106300cd53383f2c885935e3768b
|
| 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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.8
|
Release files / idem_windows-2-py3-none-any.whl
| Download URL | idem_windows-2-py3-none-any.whl |
|---|---|
| Size | 29.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2fb1b92c1fcafae0dbdf8f66f5ae2e67b559685d5411b51c04a13b249d077c5e
|
|
BLAKE2b-256 checksum How to use checksums |
d497d1515b1a88cd944bda2a43eabac460cf17d94578e7da5f5cf6c05b6f7060
|
| 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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.8
|