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

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

Issue 29324553: Issue 2909 - Allow for adjusting the location of $hgweb::templates (Closed)
Patch Set: Issue 2909 - Removed *.orig fragment included by accident Created Oct. 1, 2015, 12:04 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/hgweb/files/nginx.conf ('k') | modules/hgweb/templates/nginx.conf.erb » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/hgweb/manifests/init.pp
diff --git a/modules/hgweb/manifests/init.pp b/modules/hgweb/manifests/init.pp
index fc5277b4faf32ccf991414040665067d230ba8da..a7933775a2d78f896bc3fc457af3babb908df179 100644
--- a/modules/hgweb/manifests/init.pp
+++ b/modules/hgweb/manifests/init.pp
@@ -22,6 +22,10 @@
# [*hgaccess*]
# A prototype directory source for the hgaccess repository.
#
+# [*templates*]
+# A directory providing custom /static/ resources to be used instead
+# of the ones that ship with package mercurial.
+#
# === Examples:
#
# class {'hgweb':
@@ -34,6 +38,7 @@ class hgweb(
$certificate = hiera('hgweb::certificate', 'undef'),
$private_key = hiera('hgweb::private_key', 'undef'),
$hgaccess = 'puppet:///modules/hgweb/hgaccess',
+ $templates = hiera('hgweb::templates', '/usr/share/mercurial/templates'),
) {
include ssh, nginx
« no previous file with comments | « modules/hgweb/files/nginx.conf ('k') | modules/hgweb/templates/nginx.conf.erb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld