apt::preseeded_package: concatenate $name.seeds with $debian_version/$name.seeds.

This commit is contained in:
intrigeri 2010-10-16 14:21:36 +02:00
parent e5c40bc6f0
commit e50e35e4c8

View file

@ -1,7 +1,7 @@
define apt::preseeded_package ($content = "", $ensure = "installed") {
$seedfile = "/var/cache/local/preseeding/$name.seeds"
$real_content = $content ? {
"" => template ( "$debian_version/$name.seeds" ),
"" => template ( "$name.seeds", "$debian_version/$name.seeds" ),
Default => $content
}