Forge Home

varnish_rhel

UNKNOWN

10,574 downloads

10,274 latest version

1.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.2 (latest)
  • 0.0.1
released Jan 26th 2013

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'llehmijo-varnish_rhel', '0.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add llehmijo-varnish_rhel
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install llehmijo-varnish_rhel --version 0.0.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: varnish, rhel

Documentation

llehmijo/varnish_rhel — version 0.0.2 Jan 26th 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 llehmijo/varnish_rhel

Links

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

License

See the file LICENSE (it's MIT).