No project description provided
Project description
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
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
Built Distribution
File details
Details for the file corn-4.tar.gz
.
File metadata
- Download URL: corn-4.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d843d761035b559fc1e9e1964ab59f89695068af87b942e1741d92165c09cf70 |
|
MD5 | a593f6788f938bcc9357f422ad914c34 |
|
BLAKE2b-256 | f41cc9998b119e2ca517bdf2d7fb85c6208b6f3362abd999690f01784404a615 |
File details
Details for the file corn-4-py3-none-any.whl
.
File metadata
- Download URL: corn-4-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63112d39db324b1b758d796df6a7af0986677d1c6e8b9a53580c05715006626f |
|
MD5 | cbe619699c1d593986db29cd5093f815 |
|
BLAKE2b-256 | 44fc37e039de11054b56bf4e4da63f65ed2a80ea1cb741ef622e6b5c00b1332c |