Skip to main content

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 corn 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 corn and idem:

pop-seed -t v idem-{specific_linux_distro} -d corn exec states
  • “-t v” specifies that this is a vertically app-merged project

  • “-d corn exec states” says that we want to implement the dynamic names of “corn”, “exec”, and “states”

Add “idem-linux” to the requirements.txt:

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

And that’s it! Go to town making corn, 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

Metadata

Release files for idem-linux 5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for idem-linux 5
File Size Uploaded
idem-linux-5.tar.gz 41.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for idem-linux 5
File Interpreter ABI Platform
idem_linux-5-py3-none-any.whl Python 3 none any Details

Total release size: 77.7 kB

Release files / idem-linux-5.tar.gz

Download URL idem-linux-5.tar.gz
Size 41.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7d9db47ec708f51f921dd8ed71cdffe696347ba47da90f2e181718a9187be625
BLAKE2b-256 checksum
How to use checksums
7f5f09d54283b236d84cc01408b6df274ea5bf0780a04dac96314e62352a7979
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release files / idem_linux-5-py3-none-any.whl

Download URL idem_linux-5-py3-none-any.whl
Size 36.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b2cd7c9216843ed92daa9791955a04583714b3475809b94cf499bab0bc407c42
BLAKE2b-256 checksum
How to use checksums
8f2f56fecc9806e2bfb29e2074ea2ea5848c0c63ebc22cf09f6cdbefc5142238
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release history Release notifications | RSS feed

7.2

2 release files

7.1

2 release files

7

2 release files

6.7

2 release files

6.6

2 release files

6.5

2 release files

6.4

2 release files

6.3

2 release files

6.2

2 release files

6.1

2 release files

6

2 release files

5.1

2 release files

This release

5 This release

2 release files

4.5

2 release files

4.4

2 release files

4.3

2 release files

4.2

2 release files

4.1

2 release files

4.0

2 release files

3.4

2 release files

3.3

2 release files

3.2

2 release files

3.1

2 release files

3.0

2 release files

2.9

2 release files

2.8

2 release files

2.7

2 release files

2.6

2 release files

2.5

2 release files

2.4

2 release files

2.3

2 release files

2.2

2 release files

2.1

2 release files

2

2 release files

1.2

2 release files

1.1

2 release files

1

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page