Skip to main content

Vertical app merge components for Idem and grains support on AIX

Project description

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

INSTALLATION

Install with pip:

pip install idem-aix

DEVELOPMENT INSTALLATION

Clone the idem-aix repo and install with pip:

git clone https://gitlab.com/saltstack/pop/idem-aix.git idem_aix
pip install -e idem_aix

EXECUTION

After installation the grains command should now be available

TESTING

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

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

VERTICAL APP-MERGING

Instructions for extending idem-aix into an OS or os specific pop project

Install pop:

pip install --upgrade pop

Create a new directory for the project:

mkdir idem-{specific_aix_os}
cd idem-{specific_aix_os}

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

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

echo "idem-aix @ git+https://gitlab.com/saltstack/pop/idem-aix.git" >> requirements.txt

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

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-aix-4.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

idem_aix-4-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file idem-aix-4.tar.gz.

File metadata

  • Download URL: idem-aix-4.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for idem-aix-4.tar.gz
Algorithm Hash digest
SHA256 40cbf846db908dba43676cbe276f8b1e7caced19bced155857f66ff18dc61ada
MD5 bd3fc30a9cf7c832821fe82d14f3db96
BLAKE2b-256 a78714fb327f9c970831bc117be521ac088df6bec4af64c42e0a59458fe4351f

See more details on using hashes here.

File details

Details for the file idem_aix-4-py3-none-any.whl.

File metadata

  • Download URL: idem_aix-4-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for idem_aix-4-py3-none-any.whl
Algorithm Hash digest
SHA256 57c9535a618b2ce532a92f761861e39cd91e3a42989e23f6668084e551ba42e9
MD5 5e61bd44499df143d3d6f6facfe9ef4b
BLAKE2b-256 775e5ab20299f764fc9639fee739d81e40c130abf81cc4eadd6e31bec1fe62cb

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