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

Unified Diff: modules/nginx/templates/site.erb

Issue 5731052198821888: #1203 - Establish nginx::hostconfig-fragment() directive (Closed)
Patch Set: #1203 - Establish nginx::hostconfig-fragment() directive Created Aug. 18, 2014, 10:01 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 | « modules/nginx/manifests/init.pp ('k') | modules/trac/manifests/init.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/nginx/templates/site.erb
===================================================================
--- a/modules/nginx/templates/site.erb
+++ b/modules/nginx/templates/site.erb
@@ -78,4 +78,8 @@
<% if @source %>
<% include_file[source] %>
<% end %>
+
+# include any fragments provided via puppet and nginx::hostconfig-fragment
+include "<%= scope.lookupvar('nginx::fragment_directory') %>/<%= domain %>/*.conf";
+
}
« no previous file with comments | « modules/nginx/manifests/init.pp ('k') | modules/trac/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld