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

watched fragment needs to have higher order #74

Closed bbanzai closed 8 years ago

bbanzai commented 8 years ago

When enabling vault the vault-baseclose fragment is rendered after templates since they are both order 10

Perhaps the watches fragement should be a higher order

concat::fragment { $frag_name: target => 'consul-template/config.json', content => "template {\n source = \"${source_name}\"\n destination = \"${destination}\"\n command = \"${command}\"\n}\n\n", order => '99', notify => Service['consul-template'] }

bbanzai commented 8 years ago

Did pull request