varnish_rhel

UNKNOWN

Tomi Takussaari

tomitakussaari

10,196 downloads

10,196 latest version

1.9 quality score

Version information

  • 0.0.2 (latest)
released Jan 28th 2013

Start using this module

Documentation

tomitakussaari/varnish_rhel — version 0.0.2 Jan 28th 2013

Varnish for RHEL

This Puppet Forge module allows you to...

  • Install Varnish 3.0
  • Define where Varnish stores the data
  • Which port Varnish listens to
  • How much storage Varnish uses

Usage

# In site.pp
node cache-node {
  class { "varnish_rhel":
    varnish_data_directory => "/opt/varnish",
    varnish_storage_size   => "5G",
    varnish_listen_port    => 80
  }
}

varnish_rhel::vcl { '/etc/varnish/default.vcl':
  vcl_content => template('your-varnish-module/etc/varnish/default.vcl.erb')
}

The example above assumes that you have a Puppet module your-varnish-module with a template /etc/varnish/default.vcl.erb.

Install

puppet module install tomitakussaari/varnish_rhel

Links

This project on Puppet Forge: http://forge.puppetlabs.com/tomitakussaari/varnish_rhel.

License

See the file LICENSE (it's MIT).