Skip to main content

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 5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for idem-windows 5
File Size Uploaded
idem-windows-5.tar.gz 25.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for idem-windows 5
File Interpreter ABI Platform
idem_windows-5-py3-none-any.whl Python 3 none any Details

Total release size: 57.9 kB

Release files / idem-windows-5.tar.gz

Download URL idem-windows-5.tar.gz
Size 25.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9416c4ecaed994738f18f84881a037f76e07db4e1fc0d6629e927191a97cd2d8
BLAKE2b-256 checksum
How to use checksums
1b4ac1694839e99102359413990c788cf7c8cced72e69a5bb6cb0e2b3cc6d1f1
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / idem_windows-5-py3-none-any.whl

Download URL idem_windows-5-py3-none-any.whl
Size 32.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2a8e0a76e78ce9318fb85d78b6f7a5c5a12bccbd4463f48c21f0f509bee2ba4
BLAKE2b-256 checksum
How to use checksums
eff9ee460be6080407565e42a1730886aa8952e6f36d077c5867a4711643f1aa
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

5.3

2 release files

5.2

2 release files

5.1

2 release files

This release

5 This release

2 release files

4

2 release files

3

2 release files

2.1

2 release files

2

2 release files

1.4

2 release files

1.3

2 release files

1.2

2 release files

1.1

2 release files

1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page