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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: idem-aix-4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 073cf6f3e86dad2d67211db9a9e3afd597df1c839547a47f78101c3dd554a49a
MD5 ede31714f11c237c92b3d1c3200477e6
BLAKE2b-256 03d0bc3cd97d2883dc8472b73be2fc59f60a7151c28955d9a3d43bbf3f60e8c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: idem_aix-4.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf28c9e728b5a6d8c8f3c2f78be76b18481b29a4440340b5b313216d611443f2
MD5 b3f6f5c480f2985dec274f02a5cb55cb
BLAKE2b-256 b6337d3a4e4712e07d660fe0786aff3bd1d773c59cdf95e157768b0433021a79

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