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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: idem-posix-3.0.1.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.1 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.12.0 keyring/23.9.3 rfc3986/2.0.0 colorama/0.4.5 CPython/3.9.14

File hashes

Hashes for idem-posix-3.0.1.tar.gz
Algorithm Hash digest
SHA256 35ab766c7113e2165b96c32eed7b2a3c1b01c01c1b0355423dbb8a5d28119269
MD5 f507822914c5ca5ebfe57de5a30eb349
BLAKE2b-256 b2ce31fd0e0f85be3d6b3874ad8c374a2ab9ef5bb059760347cdd3e0bdc9d5ca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: idem_posix-3.0.1-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.1 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.12.0 keyring/23.9.3 rfc3986/2.0.0 colorama/0.4.5 CPython/3.9.14

File hashes

Hashes for idem_posix-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25aaf7a77f9ef49fa935f61ec50e28d3e86af201afa6d719c6ad126588840345
MD5 7f25bb790e8abda3925e0dc7f796dee6
BLAKE2b-256 942ee7409a8a906006f03817b137edcc1abb0418fcd60213e23c2b0b03c9f89f

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