This message was deleted.
# forge-modules
s
This message was deleted.
😎 1
b
hahahaha
well
people assume that, but no :(
the puppetdb module isnt properly maintained aince 3? 4? years I would say
c
maybe you should make a play for it. Go ahead, you’e got TONS of time! 😄 😄 😄
b
:D
c
the other part of that is the current, active documentation points you t the puppetdb module. Just broke all the way across.
b
yes. it is a shitshow
I mentioned that so often over the past years but no real progress :(
v
yes, puppetdb is outdated, auth.conf is not managed and without it puppedb is not accessible
b
also the fact that PE uses a fork of the puppetdb module and not the actual one...
sighs
c
Maybe shitshow is a little harsh there 😂 We are working to wrangle things back in to shape for you folks.
And we are actively looking for feedback on park points like this
b
yes harsh words. But we're mentioning this since years, really years. We asked politely for reviews, or that the PE team merges their fork with the upstream repo, or that the projekts gets migrated to Vox Pupuli (which I actually don't like) or that trusted contributors can review and merge stuff. nothing happened. and this is not any puppet module. it's a module from Puppet to manage their own software, puppetdb, with their own software, puppet. Customers joke how bad/hard it is to automate puppet itself.
and there are multiple teams within Puppet/Perforce that maintain modules. I think the IAC team now does a great job, but there are other teams that maintain a few modules. And that fact isn't really visible to normal customers/users and those teams have a different support level/activity/review policy and this is hard to explain to customers as an SDP consultant. I really wish that the IAC would maintain all the Puppet/Perforce modules or that other teams use the same tooling/rules/guidelines IAC has
c
I will properly digest this over coffee shortly. But after a quick scan, I can see your frustrations. We have the new Ecosystem team now so I’m confident that issues like this will get the visibility that they deserve!
👍 1
@David Sandilands @edwin let’s do some digging
b
Thanks. I know that Germans tend to be a bit... harsh and direct 😄 If you need any more concrete examples or feedback let me know
🤣 1
c
Haha no worries!
d
We like direct honest feedback :-) It's when everyone goes quiet and gives up on us sorting things were in real trouble. The honest thing for us to say is before ecosystem team these things weren't thought about enough in a joined up way. Let us take it away and get a plan together
🎉 1
b
that's why I raised > 200 jira tickets! 😄
heart dag 2
a
I really wish that the IAC would maintain all the Puppet/Perforce modules or that other teams use the same tooling/rules/guidelines IAC has
me too! I have been defacto maintainer of the puppetdb module for a number of years, but PuppetDB has a few relics of a time when we had 3x more developers working on it. We (attempt to) maintain our own documentation and module, but as a result that most other teams do not do either of those things they often do not get the attention they need. I was just doing some work to get things ready for Puppet 8 and noticed that we still had 11 there, when a newer version would be better, but had decided to leave it alone for now. But since it just doesn't work for @CVQuesty I will see if I can fix what's wrong with our invocation of the postgresql module. @David Sandilands @Craig Gumbley let me know if I can do anything to help what y'all are planning.
puppetshell 1
❤️ 2
c
looks like the biggest thing is that RHEL has changed paths. I’m having to specify every path… for instance, it’s no longer /var/lib/pgsql/11/data, it’s /var/lib/pgsql/data
I’m to the point in the installer where the validator is running, and it’s using the wrong command for that, but the psql string is in the type/provider pair
looking for a global or other setting in here to override the path to psql
I’ve had a long hate-hate relationship with the way RH decides to arbitrarily change paths on us
a
The conn validator that runs
psql
runs in the postgresql module. I don't think we pipe that setting through the puppetdb module, but you could try overriding this setting via Hiera https://github.com/puppetlabs/puppetlabs-postgresql/blob/ef8129ba1a4598ef010047df672aa0545b5a1a35/manifests/server/instance/service.pp#L25
This is redhat8, correct?
c
yeah
fresh install.
Copy code
yum install puppetserver
puppet apply -e "include puppetdb"
then hilarity ensues.
a
I've had my coffee, so I'm prepared 🙂
c
had to clean then re-run the install
runnng now
looks like there’s another psql declaration somewhere else. Ok, the connection test works, using the key you gave me. That’s cool
Now when it’s trying to create the pg_trgm extension, it’s back to trying to use the /usr/pgsql-11/bin/psql path
found it. postgresql:server:extension has a:
postgresql::default('psql_path')
in it
AHA! I’ll put it in global instead of directly in server
a
Ah yep, looks like that's probably the right place to override
c
HAH!
Ok… RHEL is installing Postgres 10.23
unsupported.
I went through all that to get whatever the default was at RHEL, and they’re behind. Let me check it just isn’t psql
yep. 10.23
v
Copy code
# dnf module list postgresql

Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
Name                         Stream                   Profiles                            Summary                                             
postgresql                   9.6                      client, server [d]                  PostgreSQL server and client module                 
postgresql                   10 [d]                   client, server [d]                  PostgreSQL server and client module                 
postgresql                   12                       client, server [d]                  PostgreSQL server and client module                 
postgresql                   13                       client, server [d]                  PostgreSQL server and client module
it's just default
you can select others
or use community edition
c
I’ve got it in repoman-epel-main
Appstream has 12 & 13
a
To use the dnf module postgres, you may want to set
manage_dnf_module
to true (also in globals). I think that will allow the module to get the right version from dnf for you
c
ok,, lemme do thqt