remove support for custom install location

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2015-02-25 00:22:38 +01:00
parent b1ef2cffa4
commit 79b16563ed
5 changed files with 1 additions and 7 deletions

View File

@ -31,8 +31,6 @@ batch-size::
consul:: consul::
the location of the Consul instance to query (may be an IP address or FQDN) with port. the location of the Consul instance to query (may be an IP address or FQDN) with port.
Defaults to 'localhost:8500'. Defaults to 'localhost:8500'.
install-to::
where to install the binary. Defaults to /usr/local/bin/consul-template
max-stale:: max-stale::
the maximum staleness of a query. If specified, Consul will distribute work among all the maximum staleness of a query. If specified, Consul will distribute work among all
servers instead of just the leader. servers instead of just the leader.

View File

@ -47,9 +47,8 @@ if [ ! -d "$version_dir" ]; then
fi fi
state="$(cat "$__object/parameter/state")" 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")" \ --source "$(cat "$version_dir/source")" \
--cksum "$(cat "$version_dir/cksum")" \ --cksum "$(cat "$version_dir/cksum")" \
--fetch-command 'curl -s -L "%s"' \ --fetch-command 'curl -s -L "%s"' \

View File

@ -1 +0,0 @@
/usr/local/bin/consul-template

View File

@ -1,7 +1,6 @@
auth auth
batch-size batch-size
consul consul
install-to
max-stale max-stale
retry retry
state state

View File

@ -1,3 +1,2 @@
- add support for --install-to in init-system files/templates
- add support for latest version 0.7.0 - add support for latest version 0.7.0
- config file format has changed - config file format has changed