Skip to main content

The YAML compiler for the SIMPLE Grid Framework

Project description

simple_grid_yaml_compiler

CircleCI Build Status contributions welcome License

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

simple_grid_yaml_compiler-1.0.6.tar.gz (11.5 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page