~damien/infrastructure

c79403c26f41fad84988ac066ac3d556987ee049 — Damien Radtke 4 months ago b3ee077
Add support folder
2 files changed, 14 insertions(+), 0 deletions(-)

M README.md
A support/.bashrc
M README.md => README.md +1 -0
@@ 17,6 17,7 @@ Terraform and running on Linode with openSUSE.
- `scripts`: Scripts to be provisioned on cluster members.
- `services`: systemd service definitions for Consul, Nomad, and Vault.
- `stackscripts`: Linode stackscripts; only one currently, used for the first
- `support`: Helpful files to be provisioned on the support box
  step of provisioning new members.
- `terraform`: Terraform definition files, used for provisioning.
- `tools`: Scripts to be used on a support box.

A support/.bashrc => support/.bashrc +13 -0
@@ 0,0 1,13 @@
# If stdout is connected to a terminal, return early. Without this, git hooks
# and other non-interactive commands over SSH can fail.
[[ ! -t 1 ]] && return

[ -f ~/.fzf.bash ] && source ~/.fzf.bash
export PATH="${PATH}:${HOME}/go/bin"

source "$(which set-cluster-env)" "${HOME}/infrastructure/terraform/"

complete -C /usr/local/bin/vault vault
complete -C /usr/local/bin/nomad nomad
complete -C /usr/local/bin/consul consul
complete -C /usr/local/bin/terraform terraform