From 2bcaaa744fb0ce493ccfeef340194ca50170a719 Mon Sep 17 00:00:00 2001
From: Steven Armstrong <steven@icarus.ethz.ch>
Date: Wed, 25 Feb 2015 00:16:10 +0100
Subject: [PATCH] remove support for custom install location; to much
 dependencies in other types

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
---
 cdist/conf/type/__consul/man.text                     | 7 -------
 cdist/conf/type/__consul/parameter/default/install-to | 1 -
 cdist/conf/type/__consul/parameter/optional           | 1 -
 3 files changed, 9 deletions(-)
 delete mode 100644 cdist/conf/type/__consul/parameter/default/install-to

diff --git a/cdist/conf/type/__consul/man.text b/cdist/conf/type/__consul/man.text
index 25d8565f..5ebaf1e8 100644
--- a/cdist/conf/type/__consul/man.text
+++ b/cdist/conf/type/__consul/man.text
@@ -22,9 +22,6 @@ None.
 
 OPTIONAL PARAMETERS
 -------------------
-install-to::
-   where to install the binary. Defaults to /usr/local/bin/consul
-
 state::
    either 'present' or 'absent'. Defaults to 'present'
 
@@ -43,10 +40,6 @@ __consul
 # specific version
 __consul \
    --version 0.4.1
-
-# install the consul binary to a specific location
-__consul \
-   --install-to /somewhere/special/consul
 --------------------------------------------------------------------------------
 
 
diff --git a/cdist/conf/type/__consul/parameter/default/install-to b/cdist/conf/type/__consul/parameter/default/install-to
deleted file mode 100644
index f85c9e67..00000000
--- a/cdist/conf/type/__consul/parameter/default/install-to
+++ /dev/null
@@ -1 +0,0 @@
-/usr/local/bin/consul
diff --git a/cdist/conf/type/__consul/parameter/optional b/cdist/conf/type/__consul/parameter/optional
index ca68058b..4d595ed7 100644
--- a/cdist/conf/type/__consul/parameter/optional
+++ b/cdist/conf/type/__consul/parameter/optional
@@ -1,3 +1,2 @@
-install-to
 state
 version