Skip to main content

No project description provided

Project description

Grains, execution modules, and state modules common to all posix systems

INSTALLATION

Install with pip:

pip install idem-posix

DEVELOPMENT INSTALLATION

Clone the idem-posix repo and install with pip:

git clone https://gitlab.com/saltstack/pop/idem-posix.git idem_posix
pip install -e idem_posix

EXECUTION

After installation the grains command should now be available

TESTING

install requirements-test.txt with pip and run pytest:

pip install -r idem-posix/requirements-test.txt
pytest idem-posix/tests

VERTICAL APP-MERGING

Instructions for extending idem-posix into an OS specific pop project

Install pop:

pip install --upgrade pop

Create a new directory for the project:

mkdir idem-{specific_posix_os}
cd idem-{specific_posix_os}

Use pop-seed to generate the structure of a project that extends grains and idem:

pop-seed -t v idem-{specific_posix_os} -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-posix” to the requirements.txt:

echo idem-posix >> requirements.txt

And that’s it! Go to town making grains, execution modules, and state modules specific to your posix os. Follow the conventions you see in idem-posix.

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-posix-3.1.0.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

idem_posix-3.1.0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file idem-posix-3.1.0.tar.gz.

File metadata

  • Download URL: idem-posix-3.1.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.2 requests/2.28.1 requests-toolbelt/0.10.0 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/5.0.0 keyring/23.9.3 rfc3986/2.0.0 colorama/0.4.5 CPython/3.9.14

File hashes

Hashes for idem-posix-3.1.0.tar.gz
Algorithm Hash digest
SHA256 d5fac6903c5dada47ef9eaf23609b809cbc5ea2e2a603863fa33471a6678ef76
MD5 1a078248c6da84faa7898091a9069208
BLAKE2b-256 b4eca790cab2dbc2d6d425d3d82bd5a6605619789403885dd971528c5eaf7df4

See more details on using hashes here.

File details

Details for the file idem_posix-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: idem_posix-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.2 requests/2.28.1 requests-toolbelt/0.10.0 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/5.0.0 keyring/23.9.3 rfc3986/2.0.0 colorama/0.4.5 CPython/3.9.14

File hashes

Hashes for idem_posix-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6089482017db9b708a38b65358b636a795dd6764075eb1953341fcf6306e6600
MD5 0ef01d2e307c9b79198f914f9f898adf
BLAKE2b-256 8da243485ac98cc6604015f399ed3395efe3a8f3558e03224da8770503359768

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