Issue #22004 has been updated by Andrew Parker.

Released in 3.3.0

----------------------------------------
Bug #22004: OpenBSD package provider flavor bug
https://projects.puppetlabs.com/issues/22004#change-99595

* Author: Jasper Lievisse Adriaanse
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: package
* Target version: 3.3.0
* Affected Puppet version: 3.2.3
* Keywords: 
* Branch: https://github.com/puppetlabs/puppet/pull/1812
----------------------------------------
It seems the regex used to get the 'flavor' from pkg_info(8) is broken.

  regex = /^(.*)-(\d[^-]*)[-]?(\D*)(.*)$/

That chops of any digit part of the flavor, while a valid flavor in OpenBSD can
have digit(s) in it, like 'no_x11'.

While on the topic, how can I query the flavor? 'puppet resource package' 
doesn't
show it, not even with 'puppet resource -f flavor package'.



-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to