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

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

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-1.3.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

idem_windows-1.3-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: idem-windows-1.3.tar.gz
  • Upload date:
  • Size: 23.1 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.43.0 CPython/3.6.8

File hashes

Hashes for idem-windows-1.3.tar.gz
Algorithm Hash digest
SHA256 de461e99c5ec21059ad548efdd26ed8cefbfcab592294afef460f45106238b2f
MD5 fcf380d3ac4d8d84cd4241568633c32d
BLAKE2b-256 0fb3d5e1b7023377275944dc712fdb4fa0f72348c100b56bef2469b30861a172

See more details on using hashes here.

File details

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

File metadata

  • Download URL: idem_windows-1.3-py3-none-any.whl
  • Upload date:
  • Size: 31.1 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.43.0 CPython/3.6.8

File hashes

Hashes for idem_windows-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ea6b7be43418f97e8651ff28c3d97910da7dc06028bf23cd08aca43b5da7fafa
MD5 22d310cd1d25c4564d8df02cd77040bb
BLAKE2b-256 ff5af7c91795a1098573d64cd8e7520fd4b0f96c2a8927f805bef9773fb6c740

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