Skip to main content

CORN

System information discovery and asset tracking

INSTALLATION

Clone the corn repo and install with pip:

git clone https://gitlab.com/saltstack/pop/corn.git
pip install -e corn

EXECUTION

After installation the corn command should now be available

Note* Until a vertically app-merged project is also installed it will have no output

TESTING

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

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

VERTICAL APP-MERGING

Instructions for extending corn for a kernel-specific project

Install pop:

pip install --upgrade pop

Create a new directory for the project:

mkdir pop_{kernel}
cd pop_{kernel}

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

pop-seed -t v pop_{kernel} -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 “corn” to the requirements.txt:

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

Note* url based reqs aren’t supported on older versions of setuptools To pip install your vertically app-merged project install corn manually:

pip install -e git+https://gitlab.com/saltstack/pop/corn.git#egg=chunkies

And that’s it! Go to town making corn, execution modules, and state modules specific to your kernel. Follow the conventions you see in corn.

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

Metadata

Release files for corn 4

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

Source distribution (sdist)

Source distribution for corn 4
File Size Uploaded Provenance
corn-4.tar.gz 4.8 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 9.3 kB

Release files / corn-4.tar.gz

Download URL corn-4.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d843d761035b559fc1e9e1964ab59f89695068af87b942e1741d92165c09cf70
BLAKE2b-256 checksum
How to use checksums
f41cc9998b119e2ca517bdf2d7fb85c6208b6f3362abd999690f01784404a615
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

Release files / corn-4-py3-none-any.whl

Download URL corn-4-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63112d39db324b1b758d796df6a7af0986677d1c6e8b9a53580c05715006626f
BLAKE2b-256 checksum
How to use checksums
44fc37e039de11054b56bf4e4da63f65ed2a80ea1cb741ef622e6b5c00b1332c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

Security for corn 4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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