Skip to main content

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

INSTALLATION

Install with pip:

pip install idem-bsd

DEVELOPMENT INSTALLATION

Clone the idem-bsd repo and install with pip:

git clone https://gitlab.com/saltstack/pop/idem-bsd.git idem_bsd
pip install -e idem_bsd

EXECUTION

After installation the grains command should now be available

TESTING

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

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

VERTICAL APP-MERGING

Instructions for extending idem-bsd into an OS specific pop project

Install pop:

pip install --upgrade pop

Create a new directory for the project:

mkdir idem-{specific_bsd_os}
cd idem-{specific_bsd_os}

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

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

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

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

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

Metadata

Release files for idem-bsd 3

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-bsd 3
File Size Uploaded
idem-bsd-3.tar.gz 18.3 kB Details

Built distribution (wheel)

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

Total release size: 41.9 kB

Release files / idem-bsd-3.tar.gz

Download URL idem-bsd-3.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a35380e1794a0acccadea4e9f4c8138f22a51c5302db7d7a10db2a2c78c57582
BLAKE2b-256 checksum
How to use checksums
dc746fc8c8bb5d5586699285b0e8fd263bc2e813311244455ce95791b6421d4f
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/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release files / idem_bsd-3-py3-none-any.whl

Download URL idem_bsd-3-py3-none-any.whl
Size 23.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
300c70001f713cb8484a83aedf24991613803cf8cc665e73daed96c8e365009e
BLAKE2b-256 checksum
How to use checksums
8b3c7031e06c90fa821cb8a61bf43cf3e65626b673a8d8618616d097eb005fcc
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/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release history Release notifications | RSS feed

4.2

2 release files

4.1

2 release files

4

2 release files

3.2

2 release files

3.1

2 release files

This release

3 This release

2 release files

2

2 release files

1.0

2 release files

0.3

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