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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a3c2221a0458edf4a9c9ec47f900b3506fc536c8f90ca4e86a0d7b41349f867 |
|
MD5 | 3485ae518a3c2943df8d7c629b1becd1 |
|
BLAKE2b-256 | 239d6127d8cdc3725555cbb5c76f0f471ca226e2e1b72e74690b8070de6b5a9c |
Close
Hashes for simple_grid_yaml_compiler-1.0.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5eae0e74e6306e0615f7d39dd85dada78a72f7de972e74eb562dd226d62f290 |
|
MD5 | 0def2687028107dcf9967d92b3b07aea |
|
BLAKE2b-256 | d2c939358035aeb0de0c156c62ea4e2763060f0bdb134d8217c9e4ea44635ba1 |