Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

install-aws-cli: Move into puppet files.

Alex Vandiver38bf1c5d228f
diff --git a/tools/setup/bootstrap-awscli.sh b/puppet/zulip_ops/files/install-aws-cli
similarity index 100%
rename from tools/setup/bootstrap-awscli.sh
rename to puppet/zulip_ops/files/install-aws-cli
diff --git a/tools/setup/bootstrap-aws-installer b/tools/setup/bootstrap-aws-installer
index 9efec06e8ac..048bb190e08 100644
--- a/tools/setup/bootstrap-aws-installer
+++ b/tools/setup/bootstrap-aws-installer
@@ -38,7 +38,7 @@ export DEBIAN_FRONTEND=noninteractive
apt-get -qy autoclean
)
-# The following line gets subbed in with the contents of bootstrap-awscli.sh
+# The following line gets subbed in with the contents of install-aws-cli
AWS=
# Set up a bare-bones AWS configuration
diff --git a/tools/setup/install-aws-server b/tools/setup/install-aws-server
index 2d0640b395d..3ed4aa0b76d 100755
--- a/tools/setup/install-aws-server
+++ b/tools/setup/install-aws-server
@@ -78,7 +78,7 @@ set -x
cd "$(dirname "$0")"
-source ./bootstrap-awscli.sh
+source ./../../puppet/zulip_ops/files/install-aws-cli
zulip_install_config_file="$HOME/.zulip-install-server.conf"
if [ ! -f "$zulip_install_config_file" ]; then
@@ -157,7 +157,7 @@ BOOTDATA=$(mktemp)
echo "REPO_URL=$REPO_URL"
echo "BRANCH=$BRANCH"
echo "SSH_SECRET_ID=$SSH_SECRET_ID"
- sed '/^AWS=/ r ./bootstrap-awscli.sh' bootstrap-aws-installer
+ sed '/^AWS=/ r ./../../puppet/zulip_ops/files/install-aws-cli' bootstrap-aws-installer
} >>"$BOOTDATA"
TAG_ROLE_NAMES="$ROLES"