Hi Ports@

Attached is an update to the new puppet 6 port, taking it to version 6.15.0

kn@ identified and fixed some bugs with the puppet 6.14 package to fix 'package 
ensure => latest' & 'service enabled => false', and also found some bugs with 
the handling of package flavors.

For the existing 6.14 package in the tree, installing a package that has 
flavors without specifying a flavor fails, if the flavor has a higher patch 
number.

I was already working on a 6.15 update so its attached here, with some further 
updates to the package provider.

This really needs testing as its playing with bits of the provider that I don't 
touch, and its a pretty brutal fix whereby the package name is set to 
'packagename--' if no flavor or %branch is specified, to ensure it only matches 
the empty flavor.

The attached update works for throwing a few things at it
puppet resource package zabbix-proxy ensure=present flavor=sqlite3
puppet resource package screen ensure=absent
puppet resource package python%3.7 ensure=latest

but it could use more testing, especially if there are more complex package 
chains

Thanks,
Arthur
--
Arthur Barton
[email protected]

Attachment: puppet-6.diff
Description: Binary data

Reply via email to