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") { define apt::preseeded_package ($content = "", $ensure = "installed") {
$seedfile = "/var/cache/local/preseeding/$name.seeds" $seedfile = "/var/cache/local/preseeding/$name.seeds"
$real_content = $content ? { $real_content = $content ? {
"" => template ( "$name.seeds", "$debian_version/$name.seeds" ), "" => template ( "$name.seeds", "$debian_version/$name.seeds" ),
Default => $content default => $content
} }
file{ $seedfile: file{ $seedfile: