Issue #2370 has been updated by Joe McDonagh. Affected version changed from 0.24.8 to 0.25.4
The provider also has problems where it thinks some packages are not installed so it tries to install them again. That's probably a separate but related issue. Part of the problem is at line 19 where the regex is defined for matching up package names, ensure values, and 'descriptions'. Since descriptions are useless (a string that describes what a package does is not a part of the resource) it should be discarded. Next, it must be taken into account that some packages beyond versions have what OBSD calls 'flavors'. So for example, screen comes in an shm and static flavor. So the package looks like this: screen-4.0.3p1-shm or screen-4.0.3p1-static or screen-4.0.3p1 To confuse things even more, some package names can have a - in them, so the - isn't always a valid separator. I can't think of a good way to handle this, but I am going to take more of a crack at creating a patch, possibly tonight if time permits. In the meantime, if anyone has a suggestion for a regex that would handle the four aforementioned cases, feel free to update the ticket with it. Everything I've tried so far fails for certain cases. ---------------------------------------- Feature #2370: OpenBSD package provider could be a little more robust http://projects.puppetlabs.com/issues/2370 Author: Joe McDonagh Status: Accepted Priority: Normal Assigned to: Category: package Target version: unplanned 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.
