From 4ea15148100fdf0f8b172901c41ba58b06ff0bec Mon Sep 17 00:00:00 2001 From: varac Date: Sat, 9 Feb 2013 14:18:06 +0100 Subject: now we can use a local index.html template --- manifests/init.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index c765c29..00a6aad 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -11,6 +11,7 @@ class reprepro ( $handle_incoming_with_inotify = false, $signwith = 'yes', $secring_source = undef, + $index_template = 'reprepro/index.html.erb', ){ package { 'reprepro': ensure => 'installed'; @@ -74,7 +75,7 @@ class reprepro ( } file { "${basedir}/index.html": mode => '0664', owner => root, - content => template('reprepro/index.html.erb'), + content => template($index_template), } file { "${basedir}/.gnupg": -- cgit v1.2.3