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

Uploaded Source

Built Distribution

idem_posix-3.0.0-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: idem-posix-3.0.0.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for idem-posix-3.0.0.tar.gz
Algorithm Hash digest
SHA256 640ae329a2481617777bab0af6fb8245760297b1b9efc2ac4b2947fc18b1a5f6
MD5 d6af272c5932cd1d798175f8c616391c
BLAKE2b-256 47e49eaaeaee9ad3dac19b91f3d5bff64d64b068d6aaf065653edcca317691ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: idem_posix-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for idem_posix-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a0e169d49deb863d40afee24ffce8f67086aee3fa7e35c17bba8c2387bf3967
MD5 316f4a86d56f3b294450ba04d3447182
BLAKE2b-256 0b8e193b902a00f9de3c8fccaa032d769f09379ee7bfe3dbbc11fa3e7dfb1cf2

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