summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-12-07 23:03:15 -0500
committerMicah Anderson <micah@riseup.net>2010-12-07 23:04:46 -0500
commitdd0552dce13f123dc05c5600232216f905c70f7b (patch)
tree1666a9eb3556690707b5e256ea5ae3768ad09c08 /manifests
parentef2ebdffd25937e841be079d3aa256570ac33196 (diff)
update apt::preseeded_package template sources to use $lsbdistcodename instead of $debian_release, also expand it to allow for site-apt sources
Diffstat (limited to 'manifests')
-rw-r--r--manifests/preseeded_package.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/preseeded_package.pp b/manifests/preseeded_package.pp
index 8f3bcbd..74aafa5 100644
--- a/manifests/preseeded_package.pp
+++ b/manifests/preseeded_package.pp
@@ -1,7 +1,9 @@
define apt::preseeded_package ($content = "", $ensure = "installed") {
$seedfile = "/var/cache/local/preseeding/$name.seeds"
$real_content = $content ? {
- "" => template ( "$name.seeds", "$debian_version/$name.seeds" ),
+ "" => template ( "site-apt/$name.seeds",
+ "site-apt/$lsbdistcodename/$name.seeds",
+ "$name.seeds", "$lsbdistcodename/$name.seeds" ),
default => $content
}