diff options
author | varac <varacanero@zeromail.org> | 2013-02-09 14:18:06 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-02-09 14:18:06 +0100 |
commit | 4ea15148100fdf0f8b172901c41ba58b06ff0bec (patch) | |
tree | 27ebbeabb56d2e5c0f45e19484e653c679f2a4e0 | |
parent | c66b74c908c21fd30f59efab85e08e65601ebc63 (diff) |
now we can use a local index.html template
-rw-r--r-- | manifests/init.pp | 3 |
1 files changed, 2 insertions, 1 deletions
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": |