Comments (7)
But it is very unusual that Debian changes the CLI so drastically. You linked to a bash wrapper of something. Is that the real
puppetdb
executable? Maybe the Debian package just does not ship the wrapper?
This template is used to generate the wrapper that is part of the Puppetlabs tarballs and packages. But per policy, Debian does not use this and build their packages from source. This wrapper is not in the same repo as the puppetdb package, so my guess is that this is the reason why it is not in the Debian package in the end.
Or is PuppetDB 7.12.1 too old to be supported by this module - even the upstream version?
As stated above, this code was added 10+ years ago, so the 7.12.1 tarball has the expected wrapper. This is only an issue when installing the Debian package provided by the Debian project.
Where are those AIO packages? I cannot find puppetdb on apt.puppet.com
Yeah, PuppetServer / PuppetDB packages are still not available for Debian 12. You can vote here to say that you too are affected by this and make this being properly prioritized:
puppetlabs/community#65
from puppetlabs-puppetdb.
Introduced in #404
Reverting to v8.0.1 will work around the issue, otherwise look at the comment I posted in the PR.
from puppetlabs-puppetdb.
$ /usr/sbin/puppetdb --version
That's not a path I would expect on Debian…
What/How did you install? You seem to be using PuppetServer 7 / PuppetDB 7 on Debian 12 for which Puppet does not provide AIO packages. I think you can cast your voice here: puppetlabs/community#65
Regarding the root cause, the version string comes from the puppetdb wrapper generated by ezbake (this code seems to be 10 years old):
FYI, the FreeBSD packages are built using the tarballs from https://downloads.puppetlabs.com/puppetdb/ and don't have this issue. Either there was an issue in older releases that got fixed, or the installation method you use give you a weird puppetdb
script.
from puppetlabs-puppetdb.
Regarding the root cause, the version string comes from the puppetdb wrapper generated by ezbake (this code seems to be 10 years old):
This is from [1]. Are you saying that upstream PuppetDB 7.12.1 does not have a puppetdb
executable that behaves like Debian's?
[1] https://packages.debian.org/bookworm/all/puppetdb/filelist
from puppetlabs-puppetdb.
This is from [1]. Are you saying that upstream PuppetDB 7.12.1 does not have a
puppetdb
executable that behaves like Debian's?
Ah, you are using the Debian packages! I did not realized they also had a PuppetDB package.
Well, the Debian packages are maintained by the Debian project the way that fit them, but that's not what Puppetlabs "officially" support. That being said, Debian 12 support is still lagging behind (see puppetlabs/community#65)
So, even if older versions of PuppetDB where reporting versions differently, a fix is unlikely to be released for this old release (1.5 year) by Puppetlabs, and I don't see Debian changing the behavior of what they ship to be compatible with technology released 1 year after the release.
My short term recommendation would therefore be to stick to an older version of the module for now, and when Debian 12 AIO packages are available, switch to that.
from puppetlabs-puppetdb.
This is from [1]. Are you saying that upstream PuppetDB 7.12.1 does not have a
puppetdb
executable that behaves like Debian's?
[1] packages.debian.org/bookworm/all/puppetdb/filelistAh, you are using the Debian packages! I did not realized they also had a PuppetDB package.
Well, the Debian packages are maintained by the Debian project the way that fit them, but that's not what Puppetlabs "officially" support. That being said, Debian 12 support is still lagging behind (see puppetlabs/community#65)
Debian packages lack behind upstream almost always. But it is very unusual that Debian changes the CLI so drastically. You linked to a bash wrapper of something. Is that the real puppetdb
executable? Maybe the Debian package just does not ship the wrapper? Or is PuppetDB 7.12.1 too old to be supported by this module - even the upstream version?
My short term recommendation would therefore be to stick to an older version of the module for now, and when Debian 12 AIO packages are available, switch to that.
Where are those AIO packages? I cannot find puppetdb on https://apt.puppet.com/
from puppetlabs-puppetdb.
back then i tested this on rhel, will try again and see if it can be fixed somehow
from puppetlabs-puppetdb.
Related Issues (20)
- Unable to set multiple -XX JVM options HOT 1
- Should support specifying the paths to the SSL cert, key & CA HOT 1
- Manifest should validate the passed parameters HOT 1
- puppetdb::master::config tries to validate using SSL port even when SSL is disabled
- Paginate Support for Large Queries HOT 1
- Declaring puppetdb::server does not inherit params.pp HOT 1
- Module is broken due to $::is_pe on puppet opensource HOT 4
- Modules version 7.14.0 not uploaded to the forge HOT 8
- Define multiple puppetdb servers in hiera HOT 2
- Support puppetlabs-postgresql version 10 HOT 5
- puppetdb and puppet postgres authentication method mismatch HOT 3
- Install fails if postgres_version is not set HOT 1
- Error 'has no parameter named port' HOT 1
- puppetdb fails to start after switching to v8.1.0 HOT 12
- Convert system tests to vsphere and hosted on jenkins.puppetlabs.com HOT 2
- Add option to specify postgresql version HOT 2
- Upgrade tests to use rspec-system 2.x HOT 1
- Switch to using puppetlabs-postgresql 3.x
- puppetdb::master::config always performs puppetdb conn validation with SSL HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppetlabs-puppetdb.