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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: idem-aix-4.2.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/45.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for idem-aix-4.2.tar.gz
Algorithm Hash digest
SHA256 0aa704bf342bc745f7f966a6c7c25211e6b395c951a3c58fd9930f108814c84b
MD5 6ac4cb41f372f7fd9838687de0bd5e9f
BLAKE2b-256 1d6227878e1412a170a00aa92e0c9583ceda26104d446ae4cfed1a97b9de2052

See more details on using hashes here.

File details

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

File metadata

  • Download URL: idem_aix-4.2-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/45.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for idem_aix-4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e4b74a45788f6d48e90988cf99a59cdcdb8b920ad755222a77789d6590da321
MD5 cc413c77f7c6b8c3aa52644ab25f4f71
BLAKE2b-256 70bd41f5ea978969607fad0458278b02b64bff4c90a28457b355e3a0f855e6a4

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