Skip to main content

Vertical app merge components for idem and corn 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 corn 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 corn, idem, and states:

pop-seed -t v pop_{specific_windows_system} -d corn 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 “corn”, “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-3.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

idem_windows-3-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: idem-windows-3.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using 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.45.0 CPython/3.8.2

File hashes

Hashes for idem-windows-3.tar.gz
Algorithm Hash digest
SHA256 bd2e30fc76110913b764597d1719ac15eec4138ea25c1286949aff61c617f02b
MD5 7e7ab17e554674d8d821b5a2fd2f8d53
BLAKE2b-256 9bfcdefb25776c9d2bd1c8c0f1f34c455006a0ea64c3c6912a96fdb7262cae7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: idem_windows-3-py3-none-any.whl
  • Upload date:
  • Size: 29.5 kB
  • Tags: Python 3
  • Uploaded using 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.45.0 CPython/3.8.2

File hashes

Hashes for idem_windows-3-py3-none-any.whl
Algorithm Hash digest
SHA256 fb440fd787de50c64eca15fcbb1bc27d39cf9e44876c545885a2e84cca0f2f06
MD5 f58a455da8df290e16fb581cd94115ae
BLAKE2b-256 13d41e9069d0876420488ac771bcf2fbd67889ba2219a07d002f482cce5e09fe

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