puppetlabs / puppetlabs/puppetlabs-postgresql

Include instance name in postgresql_psql titles to avoid duplicate declarations

Open
#1,523 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

This issue is a follow up of PR #1450.

There might be the case in multiple instances to manage postgresql_psql resources of the same name, which would result in a duplicate declaration. To avoid this, the instance name should be added to the title of all
postgresql_psql resources.

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

Start by reviewing PR #1450 and the implementation of the postgresql_psql resource. Trace how resource titles are generated for multiple instances, then verify that every postgresql_psql title includes its instance name and no longer produces duplicate declarations.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.