Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read user has to many rights #43

Open
tuxmea opened this issue Jan 30, 2024 · 0 comments
Open

read user has to many rights #43

tuxmea opened this issue Jan 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tuxmea
Copy link
Member

tuxmea commented Jan 30, 2024

Spinning up a PuppetDB container configures a single DB user only.
PuppetDB can make use of write and read user.
When not setting a read user, the permissions are to open.

Solution:
configure read-user for PuppetDB.

# /etc/puppetlabs/puppetdb/conf.d/read_database.ini
[read-database]
username = puppetdb-read
password = puppetdb-read
classname = org.postgresql.Driver
subprotocol = postgresql
syntax_pgs = true
subname = //localhost:5432/puppetdb
log-slow-statements = 10
conn-max-age = 60
conn-keep-alive = 45
conn-lifetime = 0

Attn: PuppetDB container uses .conf for database and config instead of ini files

@tuxmea tuxmea added the enhancement New feature or request label Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant