summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-08-09 13:10:59 +0200
committervarac <varacanero@zeromail.org>2012-08-09 13:10:59 +0200
commit09156065db3df5b0a63b570f2044e87c080ed53a (patch)
tree37fce668370cd85d3444d06958906ee76437f7eb
parent415fb2ab0999ab96f2613624981ecc10522f918c (diff)
use in distributions.erb
-rw-r--r--manifests/init.pp4
-rw-r--r--templates/distributions.erb8
2 files changed, 8 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index f7f0a34..bb3f74d 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -12,6 +12,10 @@ class reprepro {
'' => '/srv/reprepro',
default => $reprepro_basedir,
}
+
+ case $reprepro_signwith {
+ '': { $reprepro_signwith = 'yes' }
+ }
case $lsbdistcodename {
etch: {
diff --git a/templates/distributions.erb b/templates/distributions.erb
index 733ba56..3f74af8 100644
--- a/templates/distributions.erb
+++ b/templates/distributions.erb
@@ -6,7 +6,7 @@ Version: 3.0
Architectures: i386 amd64 source kfreebsd-amd64 kfreebsd-i386
Components: main non-free contrib
Description: <%= reprepro_origin %> specific (or backported) packages
-SignWith: yes
+SignWith: <%= reprepro_signwith %>
Uploaders: uploaders
Origin: <%= reprepro_origin %>
@@ -18,7 +18,7 @@ Version: 5.0
Architectures: i386 amd64 source kfreebsd-amd64 kfreebsd-i386
Components: main non-free contrib
Description: <%= reprepro_origin %> specific (or backported) packages
-SignWith: yes
+SignWith: <%= reprepro_signwith %>
Uploaders: uploaders
Origin: <%= reprepro_origin %>
@@ -30,7 +30,7 @@ Version: 6.0
Architectures: i386 amd64 source kfreebsd-amd64 kfreebsd-i386
Components: main non-free contrib
Description: koumbit specific (or backported) packages
-SignWith: yes
+SignWith: <%= reprepro_signwith %>
Uploaders: uploaders
Origin: <%= reprepro_origin %>
@@ -40,5 +40,5 @@ Codename: sid
Architectures: i386 amd64 source kfreebsd-amd64 kfreebsd-i386
Components: main non-free contrib
Description: <%= reprepro_origin %> specific (or backported) packages
-SignWith: yes
+SignWith: <%= reprepro_signwith %>
Uploaders: uploaders-sid