Skip to main content

IDEM-WINDOWS

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.3

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.3
File Size Uploaded
idem-windows-5.3.tar.gz 25.7 kB Details

Built distribution (wheel)

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

Total release size: 58.1 kB

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

Download URL idem-windows-5.3.tar.gz
Size 25.7 kB
Tags Source
SHA-256 checksum
How to use checksums
798b8e9733b96aace440c4c794f7ea6594435457bd24546ba312d7fa23fe2701
BLAKE2b-256 checksum
How to use checksums
fc04d6121867a28b73305aee55828ebd283717c4707de5f6271536e99356c542
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.3-py3-none-any.whl

Download URL idem_windows-5.3-py3-none-any.whl
Size 32.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c52ca701f553bca206a0923ff4c6b5fb2f818a2e65a4aefd15460dc4a6c28ffc
BLAKE2b-256 checksum
How to use checksums
ac7cc6d5d91d7b7ddb97788c74a307bab0be0c8330678bb5a74b484df1bcd4e0
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

This release

5.3 This release

2 release files

5.2

2 release files

5.1

2 release files

5

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