summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-09 04:34:01 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-09 04:34:01 -0400
commit5d41dca1a49c50af77c356a6dac00d73efb28531 (patch)
tree37c9645cef429e07c7d00232fa3c70b680e3a381
parentaa33e85e54d6567a2698b47e6281dd324e6dc4c2 (diff)
downloadpuppet-tozt-5d41dca1a49c50af77c356a6dac00d73efb28531.tar.gz
puppet-tozt-5d41dca1a49c50af77c356a6dac00d73efb28531.zip
default to the new dns name
-rwxr-xr-xbootstrap2
-rwxr-xr-xsync-secrets2
2 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index 537efc5..bd7929f 100755
--- a/bootstrap
+++ b/bootstrap
@@ -2,7 +2,7 @@
set -eux
set -o pipefail
-host="$1"
+host="${1:-new.tozt.net}"
conf_location="/usr/local/share/puppet-tozt"
conf_repo="git://github.com/doy/puppet-tozt"
diff --git a/sync-secrets b/sync-secrets
index 7e1d3fd..4e5c029 100755
--- a/sync-secrets
+++ b/sync-secrets
@@ -2,6 +2,6 @@
set -eux
set -o pipefail
-host="$1"
+host="${1:-new.tozt.net}"
rsync -avz /mnt/puppet/. root@"$host":/usr/local/share/puppet-tozt/modules/secret/files