Skip to content

An attempt to concisely define the server configuration for Hackasaurus sites.

Notifications You must be signed in to change notification settings

hackasaurus/hackasaurus-puppet-data

 
 

Repository files navigation

This is an attempt to concisely define and document the server configuration and deployment for Hackasaurus sites using a combination of Python scripts and Puppet Best Practices.

The sites this repository is capable of configuring and deploying include:

Deployment is assumed to target a bare Ubuntu natty server (11.04). All other dependencies are automatically installed by the various configuration files in this repository.

Prerequisites

You'll need Fabric.

Usage

First, clone the repository and check out its submodules:

git clone git://github.com/hackasaurus/hackasaurus-puppet-data.git
cd hackasaurus-puppet-data
git submodule update --init

To deploy Hackasaurus applications to a remote server, run:

fab -u root -H yourserver.org deploy

To run integration tests on a remote server, run:

fab -H yourserver.org test

Run fab -l for more commands, and fab -d <command> for detailed help on a particular command.

Secrets

Default passwords and other secrets for Hackasaurus applications are stored in secrets.json. You can override specific values by creating secrets.hostname.json, where hostname is your server's hostname.

Local Configuration

Virtual hosting configurations are used for the domains of Hackasaurus sites. To make development and testing easy, each site can also be accessed at its normal domain suffixed with .dev.

For example, if you want to access htmlpad.org on your development server, you can add an entry for htmlpad.org.dev to your /etc/hosts file.

About

An attempt to concisely define the server configuration for Hackasaurus sites.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 65.8%
  • Puppet 34.2%