Issue #2370 has been updated by Uwe Stuehler.
FYI: The "official" documentation for OpenBSD package names is the man page OpenBSD::PackageName(3p). The implementation to look at would be the function splitname() in /usr/libdata/perl5/OpenBSD/PackageName.pm. splitname() uses the following Perl regular expression: /^(.*?)\-(\d.*)$/o (/o has no semantic meaning relevant to the discussion.) This splits the package name into a "stem" and a "rest", which is the version number and all flavors (yes, there can be multiple). The first hyphen separates the version number from the first flavor, additional hyphens separate the flavors from each other. When forming a package name from the raw constituents $stem, $version and @flavors, the flavors are sorted in alphabetical order and then joined, together with the stem and version, using a single hypen as the separator between each constituent. I hope that helps someone. Cheers for working on it, Uwe ---------------------------------------- Feature #2370: OpenBSD package provider could be a little more robust http://projects.puppetlabs.com/issues/2370 Author: Joe McDonagh Status: Ready for Testing Priority: Normal Assigned to: Joe McDonagh Category: package Target version: 2.6 Affected version: 0.25.4 Keywords: Branch: The provider for OBSD packages is pretty brute- it complains it's not versionable, yet OpenBSD packages usually take the form of ${PACKAGENAME}-${VERSION}, so if I try to ensure something like 'screen' is installed it fails because I need to specify the version inside the package name. Alternatively, there could be a parameter such as force, that installs each package there. I'm going to guess this is a 'needs design decision' type of ticket. -- 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
