Version information
released Jan 26th 2013
Start using this module
Add this module to your Puppetfile:
mod 'llehmijo-varnish_rhel', '0.0.2'
Learn more about managing modules with a PuppetfileDocumentation
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).
Copyright (C) 2013 Lauri Lehmijoki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.