Skip to main content

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

INSTALLATION

Install idem-darwin directly from pip:

pip install idem-darwin

DEVELOPMENT INSTALLATION

Clone the idem_darwin repo and install with pip:

git clone https://gitlab.com/saltstack/pop/idem-darwin.git idem_darwin
pip install -e idem_darwin

EXECUTION

After installation the grains command should now be available

TESTING

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

pip install -r idem_darwin/requirements-test.txt
pytest idem_darwin/tests

VERTICAL APP-MERGING

Instructions for extending idem-darwin into an OS-specific idem project

Install pop:

pip install --upgrade pop

Create a new directory for the project:

mkdir idem_{specific_darwin_os}
cd idem_{specific_darwin_os}

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

pop-seed -t v idem_{specific_darwin_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_darwin” to the requirements.txt:

echo idem-darwin >> requirements.txt

And that’s it! Go to town making grains, execution modules, and state modules specific to your specific darwin-based platform. Follow the conventions you see in idem_darwin.

For information about running idem states and execution modules check out https://idem.readthedocs.io

Metadata

Release files for idem-darwin 8

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-darwin 8
File Size Uploaded
idem-darwin-8.tar.gz 20.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for idem-darwin 8
File Interpreter ABI Platform
idem_darwin-8-py3-none-any.whl Python 3 none any Details

Total release size: 46.2 kB

Release files / idem-darwin-8.tar.gz

Download URL idem-darwin-8.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
64b0b0bf19fac595f117083db2f7a8b476776bab073f73221bc0db6817a69d77
BLAKE2b-256 checksum
How to use checksums
696dc9c88035ce135d3d84fe57a192b2d5ac81227721af93ce3bbf22ec415edd
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / idem_darwin-8-py3-none-any.whl

Download URL idem_darwin-8-py3-none-any.whl
Size 25.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
429188869b285837cc30555daca6bfeab816a6ae52c6bb49f104da6ab0b1dd57
BLAKE2b-256 checksum
How to use checksums
44f88cd4589d3df51f5836086531f2dcd68f4462fd55cbde38dcf106162c95af
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

8.2

2 release files

8.1

2 release files

This release

8 This release

2 release files

7

2 release files

6.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