Issue #16752 has been updated by eric sorenson.
eric sorenson wrote: > 2. The following code, which actually does the installation, looks like it > will only work with the URL-based `resource[:source]` that we set from > pkg.conf, if and only if, the package name is specified with a leading `/` > (::FILE::Separator) -- is that the usual practise? Coming from a > RH/yum-centric background I would expect that if packages are available on a > remote repository I can just specify the bare packagename and let the > repository figure it out: > I misread this part, it actually checks that there is a trailing / on the source; so any `installpath` urls have to be of the form `http://server/path/` , and NOT `http://server/path` or `http://server`. ---------------------------------------- Feature #16752: Enhance OpenBSD package provider to use pkg.conf(5) https://projects.puppetlabs.com/issues/16752#change-77721 Author: Jasper Lievisse Adriaanse Status: In Topic Branch Pending Review Priority: Normal Assignee: eric sorenson Category: Target version: Affected Puppet version: Keywords: Branch: https://github.com/puppetlabs/puppet/pull/1297 On OpenBSD it's possible to create a file called /etc/pkg.conf which lists paths from which to install packages from. When a PKG_PATH is not set, pkg_add will look in /etc/pkg.conf and use the path found there. Currently the OpenBSD package provider in Puppet needs to have 'source' set and will ignore /etc/pkg.conf, the attach patch adjusts this behavior. If no no 'source' was explicitly set, then /etc/pkg.conf will be consulted. This patch was agreed upon by the maintainer of the puppet package in OpenBSD. -- 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.
