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

Unified Diff: modules/nginx/manifests/init.pp

Issue 29328668: Issue 3115 - Introduce custom HTTP 50x error page (Closed)
Patch Set: Created Sept. 25, 2015, 1:54 p.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/files/50x.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/nginx/manifests/init.pp
diff --git a/modules/nginx/manifests/init.pp b/modules/nginx/manifests/init.pp
index 5e3c97c7862417217b5d45876bcbc97211f70376..3d69e9c03aff154f00911fbf04da53641a047331 100644
--- a/modules/nginx/manifests/init.pp
+++ b/modules/nginx/manifests/init.pp
@@ -193,4 +193,11 @@ class nginx (
hasstatus => true,
require => File['/etc/nginx/nginx.conf']
}
+
+ file {'/usr/share/nginx/html/50x.html':
+ mode => 0644,
+ owner => 'root',
+ require => Package['nginx'],
+ source => 'puppet:///modules/nginx/50x.html',
+ }
}
« no previous file with comments | « modules/nginx/files/50x.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld