Browse the Repo

file-type-icon.circleci
file-type-icon_ci
file-type-iconexamples
file-type-iconmodules
file-type-icontest
file-type-icon.gitignore
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md
file-type-iconbootstrap-gruntwork-installer.sh
file-type-icongruntwork-install

Browse the Repo

file-type-icon.circleci
file-type-icon_ci
file-type-iconexamples
file-type-iconmodules
file-type-icontest
file-type-icon.gitignore
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md
file-type-iconbootstrap-gruntwork-installer.sh
file-type-icongruntwork-install
Gruntwork Installer

Gruntwork Installer

A script for easy installation of Gruntwork Modules.

Code Preview

Preview the Code

mobile file icon

bootstrap-gruntwork-installer.sh

down
  • #!/bin/bash
  • #
  • # A bootstrap script to install the Gruntwork Installer.
  • #
  • # Why:
  • #
  • # The goal of the Gruntwork Installer is to make make installing Gruntwork Script Modules feel as easy as installing a
  • # package using apt-get, brew, or yum. However, something has to install the Gruntwork Installer first. One option is
  • # for each Gruntwork client to do so manually, which would basically entail copying and pasting all the code below.
  • # This is tedious and would give us no good way to push updates to this bootstrap script.
  • #
  • # So instead, we recommend that clients use this tiny bootstrap script as a one-liner:
  • #
  • # curl -LsS https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash /dev/stdin --version 0.0.3
  • #
  • # You can copy this one-liner into your Packer and Docker templates and immediately after, start using the
  • # gruntwork-install command.
  • set -e
  • readonly BIN_DIR="/usr/local/bin"
  • readonly USER_DATA_DIR="/etc/user-data"
  • readonly DEFAULT_FETCH_VERSION="v0.4.1"
  • readonly FETCH_DOWNLOAD_URL_BASE="https://github.com/gruntwork-io/fetch/releases/download"

Questions? Ask away.

We're here to talk about our services, answer any questions, give advice, or just to chat.

Ready to hand off the Gruntwork?