Skip to content
Puppet manifests for Drupal
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.md

README.md

Drupal puppet

A collection of Puppet modules for managing a Drupal stack.

The manifests are very Ubuntu specific currently, (tested with 10.04 LTS) but will be expanded to work with RHEL5/6 in the future.

All modules will pass 'puppet parser validate' and Puppet-lint tests.

Modules

The following modules are included:

  • varnish -- HTTP accelerator
  • apache -- Web server
  • mysql -- Database
  • drush -- Command line shell & scripting interface for Drupal
  • php -- Scripting language
  • memcached -- Memory caching system
  • postfix -- Mail transfer agent
  • tools -- General other useful command line tools (git, wget, sysstat etc)

Installation

git clone git@github.com:ixis/drupal-puppet.git to your puppet moduledir

Usage

In templates.pp

class server-combined {
  include varnish
  include apache
  include mysqld
  include drush
  include php
  include memcached
  include postfix
  include tools
}

In nodes.pp

node 'your-new-box' {
  include server-combined
  apache::vhost { 'domain.co.uk':
  port => 8080,
  docroot => "/var/www/vhosts/domain.co.uk",
  serveraliases => ['www.domain.co.uk', 'someotherdomain.co.uk'],
  }
}
Something went wrong with that request. Please try again.