Jira (PUP-10791) openbsd package provider fails for packages available in multiple versions and multiple falvors

4 views
Skip to first unread message

Benedikt Trefzer (Jira)

unread,
Nov 21, 2020, 5:23:05 AM11/21/20
to puppe...@googlegroups.com
Benedikt Trefzer created an issue
 
Puppet / Bug PUP-10791
openbsd package provider fails for packages available in multiple versions and multiple falvors
Issue Type: Bug Bug
Affects Versions: PUP 6.18.0
Assignee: Unassigned
Components: Types and Providers
Created: 2020/11/21 2:22 AM
Priority: Normal Normal
Reporter: Benedikt Trefzer

Puppet Version:  6.x
Puppet Server Version:
OS Name/Version: OpenBSD 6.8

packages with stems and multiple versions available cannot be installed automatically. since the openbsd package provider cannot use version and flavor.

Actual Behavior:

 

Taken the following manifest:

package

{'postfix': ensure => '3.5.7', }

if run with puppet apply gives the output:

Debug: Executing: '/usr/sbin/pkg_info postfix'
Debug: Executing: '/usr/sbin/pkg_add r postfix-'
"quirks-3.439 signed on 2020-11-19T21:06:27Z\n" +
"Ambiguous: postfix-- could be postfix-3.6.20200627 postfix-3.5.7\n"

Remark:

postfix on OpenBSD 6.8 is available in multiple flavors in two versions. I did not find a way to install a postfix  version automatically without using an exec statement !!!!

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Josh Cooper (Jira)

unread,
Nov 23, 2020, 12:49:03 PM11/23/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
*Puppet Version:  6.x*
*Puppet Server Version:*
*OS Name/Version: OpenBSD 6.8*


packages with stems and multiple versions available cannot be installed automatically. since the openbsd package provider cannot use version and flavor.

*Actual Behavior:*

 

Taken the following manifest:

{code:puppet}
package{'postfix':
ensure => '3.5.7',
}
{code}

if run with puppet apply gives the output:

{noformat}
Debug: Executing: '/usr/sbin/pkg_info postfix'
Debug: Executing: '/usr/sbin/pkg_add -r postfix--'

"quirks-3.439 signed on 2020-11-19T21:06:27Z\n" +
"Ambiguous: postfix-- could be postfix-3.6.20200627 postfix-3.5.7\n"
{noformat}

Remark:

postfix on OpenBSD 6.8 is available in multiple flavors in two versions. I did not find a way to install a postfix  version automatically without using an exec statement !!!!

 

Josh Cooper (Jira)

unread,
Nov 23, 2020, 12:55:04 PM11/23/20
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages