cdn-ops/global/overlay/etc/puppet/modules/cdn
Patrik Lundin c386349271
cdn db init: secure schema usage
Trying to run goose for creating database contents failed:
```
2024/11/14 11:59:13 goose run: failed to ensure DB version: ERROR: permission denied for schema public (SQLSTATE 42501)
```

This seems to be because PostgreSQL 15 removed the default CREATE
permission in the public schema for users other than the database owner.

Instead we create a user-specific schema owned by that same user and
leave the public schema unused.
2024-11-14 13:01:06 +01:00
..
files cdn db init: secure schema usage 2024-11-14 13:01:06 +01:00
manifests Properly ensure files 2024-11-13 14:54:33 +01:00
templates Expose postgres at standard port 2024-11-14 12:14:18 +01:00