Skip to main content

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 1

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 1
File Size Uploaded
idem-windows-1.tar.gz 22.7 kB Details

Built distribution (wheel)

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

Total release size: 51.0 kB

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

Download URL idem-windows-1.tar.gz
Size 22.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ef23e98b39819638cbce414fedd6793c8a9e23d8f8b7c458ef69500666a9c181
BLAKE2b-256 checksum
How to use checksums
c718c8d6d7d058fe2f2aea213145aa19951b213aa5030a57cfa912fb9ac92b95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

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

Download URL idem_windows-1-py3-none-any.whl
Size 28.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eed01c741f0034916e1fa927436b4b1aeec562152394138b41b4b02d8d5661b4
BLAKE2b-256 checksum
How to use checksums
81f71ecf80caee67b3309e51f789005f498b89e132c69ecdd6dc0a09189b3699
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release history Release notifications | RSS feed

5.3

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

This release

1 This release

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