diff options
Diffstat (limited to 'manifests/preseeded_package.pp')
-rw-r--r-- | manifests/preseeded_package.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/preseeded_package.pp b/manifests/preseeded_package.pp index 76c432e..839f200 100644 --- a/manifests/preseeded_package.pp +++ b/manifests/preseeded_package.pp @@ -1,11 +1,11 @@ define apt::preseeded_package ($content = "", $ensure = "installed") { $seedfile = "/var/cache/local/preseeding/$name.seeds" $real_content = $content ? { - "" => template ( "$name.seeds", "$debian_version/$name.seeds" ), + "" => template ( "site-apt/$lsbdistcodename/$name.seeds" ), default => $content } - file{ $seedfile: + file { $seedfile: content => $real_content, mode => 0600, owner => root, group => root, } |