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

Unified Diff: manifests/webserver.pp

Issue 4884212985364480: Allow running multiplexer on web servers (Closed)
Patch Set: Created Dec. 18, 2013, 7:02 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
« no previous file with comments | « no previous file | modules/web/manifests/server.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: manifests/webserver.pp
===================================================================
--- a/manifests/webserver.pp
+++ b/manifests/webserver.pp
@@ -1,12 +1,18 @@
node 'web1' {
include base
class {'web::server':
vhost => 'eyeo.com',
repository => 'web.eyeo.com',
+ multiplexer_locations => ['/formmail'],
+ }
+
+ concat::fragment {'formmail_template':
+ target => '/etc/sitescripts.ini',
+ content => "[DEFAULT]\nmailer=/usr/sbin/sendmail\n[formmail]\ntemplate=formmail/template/eyeo.mail\n",
}
class {'nagios::client':
server_address => 'monitoring.adblockplus.org'
}
}
« no previous file with comments | « no previous file | modules/web/manifests/server.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld