Puppet Class: varnish::config_vcl

Defined in:
manifests/config_vcl.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'manifests/config_vcl.pp', line 1

class varnish::config_vcl {
  file { $::varnish::vcl_conf:
    ensure  => file,
    owner   => 'root',
    group   => 'root',
    mode    => '0644',
    content => $::varnish::vcl_content,
  }
  ~>
  exec { 'varnish_reload_vcl':
    command     => 'service varnish reload',
    path        => $::path,
    refreshonly =>  true,
  }
}