public
Description: Puppet configuration for Tryphon servers
Homepage:
Clone URL: git://github.com/albanpeignier/tryphon-puppet.git
albanpeignier (author)
Sat May 16 14:05:15 -0700 2009
commit  a990818b29924268255fd66ceab3b0594286d4a8
tree    dcd4ee92e3be6da99e1c731f6e59893776a1451b
parent  5e7c1712d76d575ab0d4229a0339a505a04d8392
README.rdoc

Tryphon Puppet files

INTRODUCTION

This project regroups :

  • puppet configuration
  • cucumber features
  • rake tasks
  • scripts (to generate puppet modules, manage ssl certificates, …)

The main goal is publishing our work to make sysadmin with great tools like puppet, cucumber, rake and git.

For the moment, many things are based on local needs or configurations and would require evolutions to be widely usable.

Private information are stored in an unpublished module (modules/private).

More information about Puppet : reductivelabs.com/trac/puppet/

SYNOPSIS

Install the needed gems :

  rake gems:install

Create a new puppet module :

  ./script/generate module passenger

  Create directory: modules/passenger/manifests
  Create directory: modules/passenger/templates
  Create directory: modules/passenger/files
  Create directory: modules/passenger/depends
  Create file: modules/passenger/README
  Create file: modules/passenger/manifests/init.pp
  Create file: modules/passenger/manifests/defaults.pp

Setup your sandbox vm :

  rake sandbox:start
  rake sandbox:puppet:setup

Start a local puppetmasterd :

  ./script/server &

  notice: Starting Puppet server version 0.24.5

Reload the puppet configuration in your sandbox vm :

  rake sandbox:puppet:reload

Test the features :

  rake features

Revert your sandbox vm :

  rake sandbox:stop
  rake sandbox:revert