Syntax fix
This commit is contained in:
parent
e50e35e4c8
commit
7c90a47067
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue