Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/web/manifests/server.pp

Issue 29438564: #301 - Provision formmail templates with absolute paths (Closed)
Patch Set: Created May 16, 2017, 12:29 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« hiera/roles/web/acceptableads.yaml ('K') | « hiera/roles/web/acceptableads.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/web/manifests/server.pp
===================================================================
--- a/modules/web/manifests/server.pp
+++ b/modules/web/manifests/server.pp
@@ -8,10 +8,17 @@
$custom_config = undef,
$multiplexer_locations = undef,
$geoip = false,
+ $formmail = hiera('web::server::formmail', undef),
) {
include sitescripts
+ if $formmail != undef {
+ ensure_resource('file', 'formmail', merge({
+ ensure => absent,
mathias 2017/05/16 20:59:48 Do you really think ensure => "absent" is a reason
+ }, $formmail))
+ }
+
$PYTHONPATH = 'PYTHONPATH=/opt/cms:/opt/sitescripts'
# Ensure there is at least one character in the respective strings;
« hiera/roles/web/acceptableads.yaml ('K') | « hiera/roles/web/acceptableads.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld