Please note that the Consul Template issue tracker is reserved
for bug reports and enhancements. For general usage questions,
please use the Consul Community Portal or the Consul mailing list:
Please try to simplify the issue as much as possible and include all the
details to replicate it. The shorter and simpler the bug is to reproduce the
quicker it can be addressed. Thanks.
Consul Template version
e04ca78
Configuration
consul {
address = "localhost:8500"
}
template {
contents = "{{ range $kv := tree \"/\" }}{{ $kv.Key }}={{ $kv.Value }}\n{{ end }}"
destination = "/tmp/out"
}
# consul kv put foo 1
# consul kv put foo/ 2
# consul kv put foo/bar 3
Please note that the Consul Template issue tracker is reserved for bug reports and enhancements. For general usage questions, please use the Consul Community Portal or the Consul mailing list:
Please try to simplify the issue as much as possible and include all the details to replicate it. The shorter and simpler the bug is to reproduce the quicker it can be addressed. Thanks.
Consul Template version
e04ca78
Configuration
Command
Debug output
Expected behavior
/tmp/out
should contain:Actual behavior
/tmp/out
contains:Steps to reproduce
Provided above
References