Skip to main content

No project description provided

Project description

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

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

Uploaded Source

Built Distribution

idem_darwin-7-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file idem_darwin-7.tar.gz.

File metadata

  • Download URL: idem_darwin-7.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for idem_darwin-7.tar.gz
Algorithm Hash digest
SHA256 ced0d4011ffe657ebb51cf20b4073fedc5d765e7a014a0fa5e1ff6d078e06c53
MD5 8a9d8a510b6b7e76f51de0ed9e0b9f7c
BLAKE2b-256 4d86f0195e1b44036b8b364cfd41defa4b26b232e3bb5b74ad9cbdf2f415dcaf

See more details on using hashes here.

File details

Details for the file idem_darwin-7-py3-none-any.whl.

File metadata

  • Download URL: idem_darwin-7-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for idem_darwin-7-py3-none-any.whl
Algorithm Hash digest
SHA256 a181bc7bda7b331e93819eb1c8ec04891c6889d890f2aacece4ce5558409f919
MD5 ae43c688a37486ad7a005c6f54282141
BLAKE2b-256 1943c8d3f3ede6c98b22831b376768d4443e9b11bfa064f5d431d39185fca445

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