Public Repo for Tru-Strap script. Must not contain business specific data. Public status means that we can initiate bootstrapping without needing any credentials.
Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
Vagrantfile
init.sh

README.md

 Tru Strap

What is this?

This is the MSM Public version of the 'tru-strap' script. Ref: https://github.com/jimfdavies/tru-strap

We have made this repo public so that we can download and start 'tru-strapping' without needing any credentials. We will pass required credentials as parameters into tru-strap in order for it to download/clone the required private repo(s).

How do I use it?

Integrate it with your favourite Virtualisation / Cloud platform eg. AWS User Data, RightScale RightScripts .... or use Vagrant with the handy provided Vagrantfile.

Vagrant

Quick Start

git clone git@github.com:MSMFG/tru-strap.git
cd tru-strap
cp ~/.ssh/myprivategithubkey myprivategithubkey.pem
export vm_mem=2048
export init_role=myrole
export init_env=myenv
export init_repoprivkeyfile=myprivategithubkey.pem
vagrant up

 Environment Variables

This Vagrantfile requires a few environment variables to be set.

Required
  • init_role The Puppet role of the server.
  • init_env The Puppet environment of the server.
  • init_repoprivkeyfile The filename (.pem extension) of your private GitHub key which should be copied into this directory.
Optional
  • init_repouser The owner of the github repo, defaults to MSMFG
  • init_reponame The name of the github repo, defaults to msm-provisioning
  • init_repobranch The name of the github branch, defaults to master