Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Latest commit

 

History

History
92 lines (64 loc) · 2.46 KB

README.md

File metadata and controls

92 lines (64 loc) · 2.46 KB

Summercamp 2015 Vagrant Box

Vagrant box, with Ansible provisioning to setup all that is required for Summercamp 2015.

Authors

Prerequisites

You need to be using either OSX or linux as your OS.

If you are using Windows, let me know so I can take a look how to setup the ansible-pull (and if it is possible)

You need to have following installed:

If you are on linux machine, preferred method of Ansible installation is

pip install ansible

If you are on an OS X machine, you can install Ansible with brew or pip

pip install ansible

or

brew install ansible

You should not be cloning the Ansible repo and running it like that.

The recommended version of Ansible at the time of writing is 1.8.4.

The minimum recommended version of vagrant at the time of writng is 1.7.3

With these versions you can use Virtualbox 4.x or 5.x

Local development setup

The local development is meant to be used in a vagrant provisioned box.

The provisioner for the project is ansible.

Once you have the prerequisites setup, you can run the

vagrant up

from you terminal to start the process up.

If you do not see an error message, go get yourself a cup of coffee or your favorite beverage, you deserve it.

If you start seeing the connection timeout after adding of the private key

    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...

You should open up the Virtualbox, click the vm running (name should be along the lines of 4cinc-thinkfasttoys....) and reset it (on OSX it is cmd+t). This is due to some weird bug somewhere on intersection of vagrant, virtualbox and this ubuntu cloud image. After the initial virtual machine build, you will not need to use this.

IMPORTANT

If vagrant starts complaining about locale and crashes the provisioning, in ~/.bash_profile (or equivalent) add

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

Windows Support

Shell script will run from within the vm to provision the setup