winhamwr/neckbeard — pull request #2 by winhamwr (2013-04-30 19:54:30+00:00)
Title: Add a config file for Neckbeard itself

We need to configure neckbeard "meta" things like which Resource Tracker you'd like to use (eg. SimpleDB) and then details for those things (eg. the AWS creds to use and the Domain to use). For now, this file will just be responsible for configuring the resource tracker. In the future, it will do things like letting you choose alternative secrets loaders, registering brain wrinkles, etc.

## NeckbeardLoader changes

Alter `neckbeard.loader:NeckbeardLoader` to look for a `neckbeard.json` configuration file in the normal `.neckbeard` directory.

## ConfigurationManager

`neckbeard.configuration:ConfigurationManager` needs to bifurcate a little bit. Instead of just spitting out one expanded configuration, it should be responsible for generating a resource-centric configuration and a neckbeard-centric configuration. The current behavior is the resource-centric configuration, so we just need to add the ability to instantiate a ResourceTracker based on the config.

## Actions

All of the actions will now be passed the environment name, the resource_configuration and the resource tracker.