x0x8x / gb-puppet-test-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Group Buddies - Provisioning test repo

Setup

First, download the repo:

git clone git://github.com/groupbuddies/gb-puppet-test-app
cd gb-puppet-test-app

Fetch dependencies:

bundle install
bundle exec librarian-puppet install

Now follow one of the installation options:

Puppet installation

Setup the vagrant machine (this should take a while)

vagrant up

You can now deploy a test app to the vagrant machine, both in production and staging mode:

bundle exec cap production deploy # for production app
bundle exec cap staging deploy    # for staging app

You should be able to go to the following urls and see both app instances working

localhost:8443 # production test app
localhost:8080 # staging test app

Note: Be patient if nothing shows up at first. Service restart is managed by Monit, and may take a couple of minutes.

Some more random info

  • The real juice from puppet comes from this repo
  • Both the production and staging apps are instances of this repo

About


Languages

Language:Ruby 73.8%Language:HTML 17.6%Language:CSS 4.7%Language:Shell 2.4%Language:Puppet 1.5%