From bbf4bc03fa076ae3984d8eae18e27fd09627f177 Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Sun, 16 Apr 2017 21:29:30 -0400 Subject: package wrongly documented and used with content parameter There are some references to the old `content` parameter (from preseeded_package) that mistakenly weren't replaced with the new parameter `seedfile_content`. This meant the documentation was wrong and the `preseeded_package` wrapper was erroring out because of an unknown parameter. --- manifests/preseeded_package.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests') diff --git a/manifests/preseeded_package.pp b/manifests/preseeded_package.pp index 7db740f..e6fcab1 100644 --- a/manifests/preseeded_package.pp +++ b/manifests/preseeded_package.pp @@ -5,8 +5,8 @@ define apt::preseeded_package ( ) { warning('apt::preseeded_package is deprecated! you should now use apt::package with parameter use_seed set to true instead.') apt::package { $name: - ensure => $ensure, - use_seed => true, - content => $content, + ensure => $ensure, + use_seed => true, + seedfile_content => $content, } } -- cgit v1.2.3