Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

idem-linux

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

idem-linux

Vertical app merge components for Idem and grains support on Linux

  • 7.2
  • PyPI
  • Socket score

Maintainers
2

IDEM-LINUX


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

INSTALLATION

Install with pip::

pip install idem-linux

DEVELOPMENT INSTALLATION

Clone the idem-linux repo and install with pip::

git clone https://gitlab.com/saltstack/pop/idem-linux.git idem_linux
pip install -e idem_linux

EXECUTION

After installation the grains command should now be available

TESTING

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

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

VERTICAL APP-MERGING

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 https://idem.readthedocs.io

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc