From 83ed43c4a77f38bd9044d6e34724ddb75bba4e5b Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 13 Feb 2013 12:06:03 -0500 Subject: add the ability to have a customized index.html --- manifests/repository.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/manifests/repository.pp b/manifests/repository.pp index 07ba6e2..ae02447 100644 --- a/manifests/repository.pp +++ b/manifests/repository.pp @@ -10,7 +10,8 @@ define reprepro::repository ( $manage_distributions_conf = true, $manage_incoming_conf = true, $handle_incoming_with_cron = false, - $handle_incoming_with_inotify = false + $handle_incoming_with_inotify = false, + $index_template = 'reprepro/index.html.erb', ) { include reprepro @@ -76,7 +77,7 @@ define reprepro::repository ( 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