projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
schroot does not depend on the db.d.o repository. do not put schroot on hold for...
[mirror/dsa-puppet.git]
/
modules
/
site
/
manifests
/
aptrepo.pp
diff --git
a/modules/site/manifests/aptrepo.pp
b/modules/site/manifests/aptrepo.pp
index
d0e34ec
..
d5bae78
100644
(file)
--- a/
modules/site/manifests/aptrepo.pp
+++ b/
modules/site/manifests/aptrepo.pp
@@
-1,5
+1,4
@@
-define site::aptrepo ($key = undef, $keyid = undef, $template = undef, $config = undef, $ensure = present, $require = []) {
-
+define site::aptrepo ($key = undef, $keyid = undef, $template = undef, $config = undef, $ensure = present) {
case $ensure {
present: {
case $ensure {
present: {
@@
-50,14
+49,12
@@
define site::aptrepo ($key = undef, $keyid = undef, $template = undef, $config =
ensure => $ensure,
content => template($template),
notify => Exec['apt-get update'],
ensure => $ensure,
content => template($template),
notify => Exec['apt-get update'],
- require => $require,
}
} else {
file { "/etc/apt/sources.list.d/${name}.list":
ensure => $ensure,
source => $config,
notify => Exec['apt-get update'],
}
} else {
file { "/etc/apt/sources.list.d/${name}.list":
ensure => $ensure,
source => $config,
notify => Exec['apt-get update'],
- require => $require,
}
}
}
}
}
}