summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-02-13 11:37:46 -0500
committerMicah Anderson <micah@riseup.net>2013-02-13 11:37:46 -0500
commit2ec8081667c1f12591e3de5c03942c6f19e7e1bf (patch)
tree36d104da9d298d57d7a2c89ddc48868a3354143c
parent9878f1e0b68f5c68cdb8deeb795618ccbcf4c25e (diff)
make Signwith configurable, defaulting to the previous setting (yes)add_signwith
-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