The YAML compiler for the SIMPLE Grid Framework
Project description
simple_grid_yaml_compiler
Generates the extended YAML output for an input site_level_configuration_file
Setup development Environment
You'll need Python 2.7 or higher.
- Fork this repository and clone your fork in your development machine.
- Create a virtualenv with Python >= 2.7 and install all the required packages listed in the requirements.txt file.
- At the root of the directory, create a .temp folder.
mkdir .temp
- Create a site_level_configuration_file.yaml in the root directory. You can use the one available in the puppet module.
- Execute the compiler using the following command template from the root directory
python simple_grid_yaml_compiler.py {PATH_TO_SITE_LEVEL_CONFIG_FILE} -o {PATH_TO_AUGMENTED_SITE_LEVEL_CONFIG_FILE}
For instance,
python simple_grid_yaml_compiler.py ./tests/resources/complete_config.yaml -o ./tests/output.yaml
- After running the compiler, the output would be generated at {PATH_TO_AUGMENTED_SITE_LEVEL_CONFIG_FILE}
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
Close
Hashes for simple_grid_yaml_compiler-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c35bad805dc90d9de3c1c56d807e694e2ead0f32762638b7f91cf30d834d358 |
|
MD5 | ca0d96035acc388acb4c5a10bc8ecfd3 |
|
BLAKE2b-256 | 51cf76e93d555bb04ee3919ddd773cafaf2e43142ec1d11047872a8285ac0f8a |
Close
Hashes for simple_grid_yaml_compiler-1.0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 122cefd5cbdac2dde54e7dff2d7e566a46c7490a4d6d27f78a816e322486d57e |
|
MD5 | caf10c4d9d358457ae4f0aca4926f94a |
|
BLAKE2b-256 | c274d7e1a57af384e2e795a89b1395f6f19ae43b8b219cff79d9d901f84f1e39 |