Commit 79b16563 authored by Steven Armstrong's avatar Steven Armstrong

remove support for custom install location

Signed-off-by: default avatarSteven Armstrong <steven@icarus.ethz.ch>
parent b1ef2cff
......@@ -31,8 +31,6 @@ batch-size::
consul::
the location of the Consul instance to query (may be an IP address or FQDN) with port.
Defaults to 'localhost:8500'.
install-to::
where to install the binary. Defaults to /usr/local/bin/consul-template
max-stale::
the maximum staleness of a query. If specified, Consul will distribute work among all
servers instead of just the leader.
......
......@@ -47,9 +47,8 @@ if [ ! -d "$version_dir" ]; then
fi
state="$(cat "$__object/parameter/state")"
install_to="$(cat "$__object/parameter/install-to")"
__staged_file "$install_to" \
__staged_file /usr/local/bin/consul-template \
--source "$(cat "$version_dir/source")" \
--cksum "$(cat "$version_dir/cksum")" \
--fetch-command 'curl -s -L "%s"' \
......
auth
batch-size
consul
install-to
max-stale
retry
state
......
- add support for --install-to in init-system files/templates
- add support for latest version 0.7.0
- config file format has changed
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment