Issue #16752 has been updated by Josh Cooper.

Branch changed from https://github.com/puppetlabs/puppet/pull/1297 to 
https://github.com/puppetlabs/puppet/pull/https://github.com/puppetlabs/puppet/pull/1379

Updated PR with tests and added better validation of installpath when reading 
from /etc/pkg.conf.
----------------------------------------
Feature #16752: Enhance OpenBSD package provider to use pkg.conf(5)
https://projects.puppetlabs.com/issues/16752#change-80712

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/https://github.com/puppetlabs/puppet/pull/1379


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.

Reply via email to