Skip to main content

Vertical app merge components for idem and grains to support windows

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

idem-windows-5.1.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

idem_windows-5.1-py3-none-any.whl (32.4 kB view details)

Uploaded Python 3

File details

Details for the file idem-windows-5.1.tar.gz.

File metadata

  • Download URL: idem-windows-5.1.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for idem-windows-5.1.tar.gz
Algorithm Hash digest
SHA256 b9eba285c45e26da9829145de12c8baaed40ba957d131ac0afb6e32282064714
MD5 e61f00d5ce0b84d2376482a8ccf0b900
BLAKE2b-256 29d66e5b5f8a53270e57e7ed8f96279f456040900fa35e4971a7f65bf0dd370d

See more details on using hashes here.

File details

Details for the file idem_windows-5.1-py3-none-any.whl.

File metadata

  • Download URL: idem_windows-5.1-py3-none-any.whl
  • Upload date:
  • Size: 32.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for idem_windows-5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 714cc1770e121c94107bc2f77396f1db281443af78718e779ff6f02c64a26f3e
MD5 030c3007c7297af2526e71ab76e89e95
BLAKE2b-256 e30dff8b8e4bf0f8f03719f648ec2ef9cd79329b2ca746d9b88a7ce238b5f8f8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page