Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

read user has to many rights #43

@tuxmea

Description

@tuxmea

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions