From 2ec8081667c1f12591e3de5c03942c6f19e7e1bf Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 13 Feb 2013 11:37:46 -0500 Subject: make Signwith configurable, defaulting to the previous setting (yes) --- manifests/repository.pp | 3 ++- templates/distributions.erb | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/manifests/repository.pp b/manifests/repository.pp index 07ba6e2..70b9d57 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, + $signwith = 'yes' ) { include reprepro diff --git a/templates/distributions.erb b/templates/distributions.erb index b58b6ea..1f22aab 100644 --- a/templates/distributions.erb +++ b/templates/distributions.erb @@ -7,7 +7,7 @@ Pull: testing Codename: stable Architectures: <%= @architectures.join(' ') %> Components: main non-free contrib -SignWith: yes +SignWith: <%= signwith %> Uploaders: uploaders Origin: <%= @origin %> @@ -17,7 +17,7 @@ Pull: unstable Codename: testing Architectures: <%= @architectures.join(' ') %> Components: main non-free contrib -SignWith: yes +SignWith: <%= signwith %> Uploaders: uploaders Origin: <%= @origin %> @@ -26,5 +26,5 @@ Suite: unstable Codename: unstable Architectures: <%= @architectures.join(' ') %> Components: main non-free contrib -SignWith: yes +SignWith: <%= signwith %> Uploaders: uploaders -- cgit v1.2.3