projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the buildd.d.o sources.list entry on schroeder, sompek, stadler - apt cannot...
[mirror/dsa-puppet.git]
/
modules
/
buildd
/
manifests
/
init.pp
diff --git
a/modules/buildd/manifests/init.pp
b/modules/buildd/manifests/init.pp
index
52317dd
..
e168abc
100644
(file)
--- a/
modules/buildd/manifests/init.pp
+++ b/
modules/buildd/manifests/init.pp
@@
-40,7
+40,13
@@
class buildd ($ensure=present) {
default => 'wheezy'
}
default => 'wheezy'
}
+ $buildd_apt_main_ensure = $::hostname ? {
+ /^(schroeder|sompek|stadler)$/ => 'absent',
+ default => 'present',
+ }
+
site::aptrepo { 'buildd.debian.org':
site::aptrepo { 'buildd.debian.org':
+ ensure => $buildd_apt_main_ensure,
key => 'puppet:///modules/buildd/buildd.debian.org.gpg',
url => 'https://buildd.debian.org/apt/',
suite => $suite,
key => 'puppet:///modules/buildd/buildd.debian.org.gpg',
url => 'https://buildd.debian.org/apt/',
suite => $suite,
@@
-49,7
+55,7
@@
class buildd ($ensure=present) {
}
$buildd_prop_ensure = $::hostname ? {
}
$buildd_prop_ensure = $::hostname ? {
- /^(alkman|
porpora|
zandonai)$/ => 'present',
+ /^(alkman|zandonai)$/ => 'present',
default => 'absent',
}
default => 'absent',
}