Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
PUP 5.5.18
-
Other
-
Night's Watch
-
1
-
NW - 2020-04-15
-
Needs Assessment
-
Bug Fix
-
Correctly parse `pkgng` latest versions for packages no longer found in the repo. (contributed by: [martijndegouw](https://github.com/martijndegouw))
-
Needs Assessment
Description
Puppet Version: 5.5.18
Puppet Server Version: 5.5.18
OS Name/Version: FreeBSD 12
the pkgng provider does not parse the output of pkg version -voRL= correctly.
If the package is no longer found in the repo, no latest version can be parsed out of it.
For example the output is:
sysutils/splunk ? orphaned: sysutils/splunk
databases/sqlite3 < needs updating (remote has 3.30.1)
Desired Behavior:
latests version for splunk should be nil
latests version for sqlite3 should be 3.30.1
Actual Behavior:
latests version for splunk is sysutils/splunk
latests version for sqlite3 is 3.30.1