Issue #20733 has been updated by Gaudenz Steinlin.

Because of this package installation fails if there is a package with and 
without a flavor. An example of this in OpenBSD 5.3 is the screen package. What 
happens is that the pkg_info -I call does not return anything and the version 
is thus empty. The openbsd package provider then tries to install with "pkg_add 
screen" instead of "pkg_add screen-4.0.3p2" which fails because it's ambigous 
and could match several versions of the package.

----------------------------------------
Bug #20733: OpenBSD package method function "get_version" does not work with 
source parameter
https://projects.puppetlabs.com/issues/20733#change-91019

* Author: Gaudenz Steinlin
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 2.7.12
* Keywords: 
* Branch: 
----------------------------------------
If the package source URL is specified with a source parameter, the get_version 
method in the OpenBSD package provider does not work as the source URL is not 
propagated to the environment of the "pkg_info -I" call. This call should also 
be wrapped in "Puppet::Util::Execution::withenv({ 'PKG_PATH' => 
@resource[:source] }) {}" like the call to pkg_add just above.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to