Skip to content

Instantly share code, notes, and snippets.

View Spechal's full-sized avatar

Travis Crowder Spechal

  • Keyboard Jockey
  • Kansas City
  • 17:20 (UTC -06:00)
View GitHub Profile
class varnish (
$base_dir = '/etc/varnish/',
$vcl_file = 'default.vcl',
$backends_file = 'default',
$vcl_template = 'default',
$storage = 'malloc',
$storage_size = '1G',
$thread_pools = 2,
$thread_pool_min = 2000,
$thread_pool_max = 4000,
class test ($opts = {default => 'value'}){
file { 'some/file':
content => template('test/file')
}
}
node test {
class { 'test':
opts => { some => 'thing' }
}