puppetlabs / puppetlabs/puppetlabs-postgresql

Add ability to create databases and databases_grants to postgresql::server

Open
#1,620 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

community feature
Dominant language
Ruby
Stars
232
Forks
610
Avg merge
5d 23h
Merged PRs (30d)
4

Description

postgresql::server_instance can manage databases and grants

Hash $databases_and_users                         = {},
Hash $databases                                   = {},
Hash $database_grants                             = {},
Hash $table_grants                                = {},

But we cannot create databases and/or grants via postgresql::server, so we must write wrappers/profiles around module.
Would be great if we can create them via postgresql::server,, like in postgresql::server_instance

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the parameter interfaces and behavior of postgresql::server_instance and postgresql::server, focusing on database creation and database grants. Trace how the server_instance parameters are handled, then identify the corresponding server entry point and existing tests or examples to update. Done means postgresql::server can manage databases and grants without wrapper profiles.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, ruby
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
57/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.