summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-02-06 14:30:38 -0500
committerMicah Anderson <micah@riseup.net>2013-02-06 14:30:38 -0500
commit6d7d5f85cd4acdfca091238efc94c65a9683c57b (patch)
treeeb5e5924a5b2dbee04e68f3e00c4bb05a6219174
parent4c802839dd9640a3ddd547b35beb73eccc638f9e (diff)
make Signwith optional, defaulting to the previous setting (yes)
-rw-r--r--manifests/init.pp3
-rw-r--r--templates/distributions.erb8
2 files changed, 6 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 2b1d95e..9b76884 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -8,7 +8,8 @@ class reprepro (
$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'
){
package {
'reprepro': ensure => 'installed';
diff --git a/templates/distributions.erb b/templates/distributions.erb
index 3e8dea8..350d4da 100644
--- a/templates/distributions.erb
+++ b/templates/distributions.erb
@@ -9,7 +9,7 @@ Version: 5.0
Architectures: <%= @architectures.join(' ') %>
Components: main non-free contrib
Description: <%= @origin %> specific (or backported) packages
-SignWith: yes
+SignWith: <%= signwith %>
Uploaders: uploaders
Origin: <%= @origin %>
@@ -21,7 +21,7 @@ Version: 6.0
Architectures: <%= @architectures.join(' ') %>
Components: main non-free contrib
Description: <%= @origin %> specific (or backported) packages
-SignWith: yes
+SignWith: <%= signwith %>
Uploaders: uploaders
Origin: <%= @origin %>
@@ -31,7 +31,7 @@ Codename: wheezy
Architectures: <%= @architectures.join(' ') %>
Components: main non-free contrib
Description: <%= @origin %> specific (or backported) packages
-SignWith: yes
+SignWith: <%= signwith %>
Uploaders: uploaders
Origin: <%= @origin %>
@@ -41,5 +41,5 @@ Codename: sid
Architectures: <%= @architectures.join(' ') %>
Components: main non-free contrib
Description: <%= @origin %> specific (or backported) packages
-SignWith: yes
+SignWith: <%= signwith %>
Uploaders: uploaders