Skip to content

Instantly share code, notes, and snippets.

View benhosmer's full-sized avatar

Ben Hosmer benhosmer

View GitHub Profile
@gchaix
gchaix / default.vcl
Last active October 3, 2018 01:16
Example Varnish default.vcl for Drupal
#
# Customized VCL file for serving up a Drupal site with multiple back-ends.
#
# Based on this excellent Lullabot article:
# http://www.lullabot.com/articles/varnish-multiple-web-servers-drupal
#
# Hooks for New Relic
C{
#include <sys/time.h>
@number5
number5 / postgres.sls
Created September 27, 2012 03:28
Postgres states for Salt
pg-deps:
pkg:
- installed
- names:
- postgresql-9.1
- postgresql-contrib-9.1
bar:
postgres_user:
- present