claranet / puppet-consul_template

A Puppet module to manage the config and jobs of Consul Template from Hashicorp
Apache License 2.0
30 stars 89 forks source link

`max_stale` in config.pp #46

Closed ccampanale closed 8 years ago

ccampanale commented 8 years ago

For consul-template v0.11.0 max-stale in config.pp should be max_stale otherwise the service will not start.

2015/12/16 13:35:43 [DEBUG] (config) loading configs from "/etc/consul-template/config"
2015/12/16 13:35:43 [DEBUG] (config) merging with "/etc/consul-template/config/config.json"
Consul Template returned errors:
config: walk error: 1 error(s) occurred:

* 1 error(s) decoding:

* '' has invalid keys: max-stale2015/12/16 13:44:04 [DEBUG] (config) loading configs from "/etc/consul-template/config"
gdhbashton commented 8 years ago

Good catch. Fixed in master. Will push a forge release today.

ccampanale commented 8 years ago

Thanks!