This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"hosts": [ | |
{ | |
"name": "localhost", | |
"port": 2084, | |
"containers": 4, | |
"platform": "kyu" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Pull from etcd the template files. | |
function download() { | |
mkdir -p "$1" | |
pushd "$1" | |
local files="$(etcdctl ls /stoic-etc/$1)" | |
for file in $files; do | |
local filename="$(basename $file)" | |
etcdctl get $file > $filename |
OlderNewer