Paramsfile

Dynamically generate configuration files with YAML and Mustache

Usage

Create a template

# ./nginx.conf.mustache

server {
  server_name {{ app_domain }};
}

Create a parameters file

# ./parameters.yml

sprocketcorp:
  app_domain: www.sprocketcorp.com

Generate the config file

$ ./bin/paramsfile nginx.conf.mustache