Skip to main content

Vertical app merge components for Idem and grains support on Linux

Project description

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


Install with pip:

pip install idem-linux


Clone the idem-linux repo and install with pip:

git clone idem_linux
pip install -e idem_linux


After installation the grains command should now be available


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

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


Instructions for extending idem-linux into an OS or distro specific pop project

Install pop:

pip install --upgrade pop

Create a new directory for the project:

mkdir idem-{specific_linux_distro}
cd idem-{specific_linux_distro}

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

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

echo idem-linux >> requirements.txt

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

For information about running idem states and execution modules check out

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-linux-7.2.tar.gz (22.0 kB view hashes)

Uploaded source

Built Distribution

idem_linux-7.2-py3-none-any.whl (27.2 kB view hashes)

Uploaded py3

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