summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
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
}