puppetlabs / puppetlabs-puppetdb

A puppet module for installing and managing puppetdb
https://forge.puppetlabs.com/puppetlabs/puppetdb
Apache License 2.0
55 stars 231 forks source link

Extend fact to not fail on debian packages #416

Closed rwaffen closed 4 months ago

rwaffen commented 5 months ago

i tried to get around the debian package differences and report a version also if this package is used. sadly somehow i didnt get puppetdb version running on my ubuntu testbox. so i tried to get the version from the package itself if it is not the puppetlabs one.

fixes: #413

rwaffen commented 4 months ago

i'll drop my efforts on solving this. its hard to get a testing environment for me. and the packages are completly not like the puppetlabs ones. this is a puppetlabs repo, so we handle puppetlabs packages with puppetlabs commands. if commands fail, report nil and exit.

bastelfreak commented 4 months ago

I think this is valid, if someone cares about packages for other distributions they can add support for it.