summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-02-13 12:07:47 -0500
committerMicah Anderson <micah@riseup.net>2013-02-13 12:07:47 -0500
commitd5452d0fa6c843d541c2038f76c6b33a8c96ab4f (patch)
tree7c80fc503d4341ff33a0ea245d5f249cf6d14597
parent6f161c00ab94d7214e740630236bd85abb994312 (diff)
parent83ed43c4a77f38bd9044d6e34724ddb75bba4e5b (diff)
Merge branch 'add_customizable_index' into leap
Conflicts: manifests/repository.pp
-rw-r--r--manifests/repository.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/repository.pp b/manifests/repository.pp
index c08e719..768a87c 100644
--- a/manifests/repository.pp
+++ b/manifests/repository.pp
@@ -13,6 +13,7 @@ define reprepro::repository (
$handle_incoming_with_inotify = false,
$signwith = 'yes',
$secring_source = undef,
+ $index_template = 'reprepro/index.html.erb',
) {
include reprepro
@@ -78,7 +79,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":