veader / pound_config_generator

Generate pound configuration file from an easier YAML file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple hack based off Chris Wanstrath's generate_nginx_config gem.

Use it:
  $ generate_pound_config pound_config.yml /etc/pound/pound.conf

See an example config file:
  $ generate_pound_config --example

You can set two environment variables:
  - POUND_CONFIG_YAML to specify the YAML config file
  - POUND_CONFIG_FILE to specify the pound config file

By default, generate_pound_config won't overwrite your OUT file.  To override this behavior, pass in --overwrite or -o or -y or --force or -f.

>> Shawn Veader
=> shawn[at]veader[dot]org

About

Generate pound configuration file from an easier YAML file.

License:MIT License


Languages

Language:Ruby 100.0%