aboutsummaryrefslogtreecommitdiff
path: root/manifests/preseeded_package.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/preseeded_package.pp')
-rw-r--r--manifests/preseeded_package.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/preseeded_package.pp b/manifests/preseeded_package.pp
index 276c90f..76c432e 100644
--- a/manifests/preseeded_package.pp
+++ b/manifests/preseeded_package.pp
@@ -1,8 +1,8 @@
define apt::preseeded_package ($content = "", $ensure = "installed") {
$seedfile = "/var/cache/local/preseeding/$name.seeds"
$real_content = $content ? {
- "" => template ( "$debian_version/$name.seeds" ),
- Default => $content
+ "" => template ( "$name.seeds", "$debian_version/$name.seeds" ),
+ default => $content
}
file{ $seedfile: