You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fresh installation of puppet 7 with puppetdb and postgres backend caused a reoccurring puppet change to appear
/Stage[main]/Puppetdb::Database::Postgresql/Postgresql::Server::Db[puppetdb]/Postgresql::Server::Role[puppetdb]/Postgresql_psql[ALTER ROLE puppetdb ENCRYPTED PASSWORD ****]/command: changed [redacted] to [redacted]
Great to see this is being inveistigated. I setup a server from scratch so I don't interfere with our live systems. Cloned our code folder and change the hostname on the puppet master so it targets a different server.
Anyhow I'm still seeing
Notice: /Stage[main]/Puppetdb::Database::Postgresql/Postgresql::Server::Db[puppetdb]/Postgresql::Server::Role[puppetdb]/Postgresql_psql[ALTER ROLE puppetdb ENCRYPTED PASSWORD ****]/command: changed [redacted] to [redacted]
in ENV.pp
class { 'puppetdb': }
class { 'puppetdb::master::config': }
class { 'repo_postgres':
pg_version => '15',
}
As you can see for this change I've removed only the postgresql::server::password_encryption: 'md5'
Since I could see within params scram-sha-256 should be considered default. I can keep the guest up just in case you wish for me to do any further testing.
Fresh installation of puppet 7 with puppetdb and postgres backend caused a reoccurring puppet change to appear
/Stage[main]/Puppetdb::Database::Postgresql/Postgresql::Server::Db[puppetdb]/Postgresql::Server::Role[puppetdb]/Postgresql_psql[ALTER ROLE puppetdb ENCRYPTED PASSWORD ****]/command: changed [redacted] to [redacted]
Packages in use
With basic puppetdb config
and in hiera node definition
puppetdb::postgres_version: '15'
I think the issue is due to the following change made for postgres puppet module puppetlabs/puppetlabs-postgresql#1402
To fix I had to set in hiera
postgresql::server::password_encryption: 'md5'
puppetdb basic configuration in theory should be matching configuration or documentation at https://www.puppet.com/docs/puppetdb/7/configure_postgres should be considered updating.
The text was updated successfully, but these errors were encountered: