We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecfdc2b commit 86a1ac4Copy full SHA for 86a1ac4
manifests/install.pp
@@ -61,7 +61,10 @@
61
$_install_options = $install_options
62
if $::puppet_agent::absolute_source {
63
# absolute_source means we use dpkg on debian based platforms
64
- $_package_version = 'present'
+ if ($package_version != 'present' and $package_version != 'latest') {
65
+ fail('When using $absolute_source on Debian, $package_version must be set to "present" or "latest"')
66
+ }
67
+ $_package_version = $package_version
68
$_provider = 'dpkg'
69
# The source package should have been downloaded by puppet_agent::prepare::package to the local_packages_dir
70
$_source = "${::puppet_agent::params::local_packages_dir}/${::puppet_agent::prepare::package::package_file_name}"
0 commit comments