Sha256: 4f6396e95e899df2372c1793d54f9ef9d46d7f371262515239b4a3377f81d102
Contents?: true
Size: 313 Bytes
Versions: 63
Compression:
Stored size: 313 Bytes
Contents
<% # This template render a template contained into Consul's KV # Usage: kv_path=my/path/to_template_in_kv consul-templaterb samples/render_template_from_kv.erb kv_path = param('kv_path') || ENV['kv_path'] template_content = kv(kv_path).get_value_decoded if kv_path %><%= render_from_string(template_content) %>
Version data entries
63 entries across 63 versions & 1 rubygems