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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc04092505a00469ce1c0b1ab5ed951d82c31595a1ea6d77d37d9054c1e3e81f |
|
MD5 | 2ae62c49268a9b57acbe429c8d38071c |
|
BLAKE2b-256 | 7069d08d4724cf38f4699d0d2824109d7050a81204ec2ebb6d0a517d3ea6d2cd |
Close
Hashes for simple_grid_yaml_compiler-1.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71e9552eb473fb354e4e8c51a1b9b73eb5dbf75156e54d1c043837d88fb1e727 |
|
MD5 | 6116b057ee6b1561f83979629cd58d0a |
|
BLAKE2b-256 | 0fcb0a69407fe6503540fd91f55d8bd88387bfad8eeb259e8837a5f85e778037 |