Skip to content

Commit

Permalink
Bugfix: propigate data_dir to config.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Feb 6, 2014
1 parent 1fbe0a5 commit 229a48d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion etcd/shell/functions
Expand Up @@ -39,7 +39,7 @@ etcd_build() {

etcd_install() {
trace_filter etcd || set -o xtrace
mkdir -p ${install_path}/bin
mkdir -p ${install_path}/bin ${data_dir}
chmod 0755 ${install_path}/bin

for file in etcd etcdctl
Expand Down Expand Up @@ -77,6 +77,7 @@ install_etcd_conf() {
to /etc/etcd/etcd.conf \
mode 0644 \
variables \
data_dir "${data_dir}" \
client_ip "${client_ip}" \
peer_ip "${peer_ip}" \
peer_client_port "${peer_client_port}" \
Expand Down

0 comments on commit 229a48d

Please sign in to comment.