summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/repository.pp3
-rw-r--r--templates/distributions.erb6
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