Syntax fix

This commit is contained in:
intrigeri 2010-10-16 22:16:02 +02:00
parent e50e35e4c8
commit 7c90a47067

View file

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