projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bd7dac
)
Change distribution selection for buildd stuff
author
Peter Palfrader
<peter@palfrader.org>
Sat, 30 Jun 2012 11:05:13 +0000
(11:05 +0000)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 30 Jun 2012 11:05:13 +0000
(11:05 +0000)
modules/buildd/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/buildd/manifests/init.pp
b/modules/buildd/manifests/init.pp
index
c170963
..
335da3f
100644
(file)
--- a/
modules/buildd/manifests/init.pp
+++ b/
modules/buildd/manifests/init.pp
@@
-28,10
+28,11
@@
class buildd {
ensure => absent,
}
- if $::lsbdistcodename in [squeeze,wheezy] {
- $suite = $::lsbdistcodename
- } else {
- $suite = 'wheezy'
+ $suite = $::lsbdistcodename ? {
+ squeeze => $::lsbdistcodename,
+ wheezy => $::lsbdistcodename,
+ undef => 'squeeze',
+ default => 'wheezy'
}
site::aptrepo { 'buildd.debian.org':