Changeset View
Changeset View
Standalone View
Standalone View
site-modules/profile/manifests/varnish.pp
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | class profile::varnish { | ||||
} | } | ||||
concat::fragment {"${includes_vcl}:header": | concat::fragment {"${includes_vcl}:header": | ||||
target => $includes_vcl, | target => $includes_vcl, | ||||
content => "# File managed with puppet (module profile::varnish)\n# All modifications will be lost\n\n", | content => "# File managed with puppet (module profile::varnish)\n# All modifications will be lost\n\n", | ||||
order => '00', | order => '00', | ||||
} | } | ||||
::profile::varnish::vcl_include {'early_vcl_recv': | |||||
order => '00', | |||||
content => file('profile/varnish/early_vcl_recv.vcl'), | |||||
} | |||||
::profile::varnish::vcl_include {'synth_redirect': | ::profile::varnish::vcl_include {'synth_redirect': | ||||
order => '10', | order => '10', | ||||
content => file('profile/varnish/synth_redirect.vcl'), | content => file('profile/varnish/synth_redirect.vcl'), | ||||
} | } | ||||
::profile::varnish::vcl_include {'unknown_vhost_then_forbidden_access': | ::profile::varnish::vcl_include {'unknown_vhost_then_forbidden_access': | ||||
order => '99', | order => '99', | ||||
content => file('profile/varnish/unknown_vhost_then_forbidden_access.vcl'), | content => file('profile/varnish/unknown_vhost_then_forbidden_access.vcl'), | ||||
} | } | ||||
include profile::prometheus::varnish | include profile::prometheus::varnish | ||||
} | } |