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

Add multi instance support, refactoring initdb.pp (2/x) #1383

Conversation

SimonHoenscheid
Copy link
Collaborator

@SimonHoenscheid SimonHoenscheid commented Jan 16, 2023

This commit is the second of many to add multi instance support to this module.
The general idea is to first copy all classes which are used and create defines from them.
These classes will use the defines as is. Necessary changes for the instances itself will be added to the classes and defined types
This ensures, the module will work as it does right now and there are no breaking changes.

@SimonHoenscheid SimonHoenscheid requested a review from a team as a code owner January 16, 2023 17:05
@puppet-community-rangefinder
Copy link

postgresql::server::config is a class

that may have no external impact to Forge modules.

postgresql::server::initdb is a class

that may have no external impact to Forge modules.

postgresql::server::instance_config is a type

that may have no external impact to Forge modules.

postgresql::server::instance_initdb is a type

that may have no external impact to Forge modules.

postgresql::server::recovery is a type

that may have no external impact to Forge modules.

This module is declared in 70 of 580 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@SimonHoenscheid SimonHoenscheid changed the title Shoenscheid postgresql instances initdb class to define (2/x) Add multi instance support, refactoring initdb.pp (2/x) Jan 16, 2023
@SimonHoenscheid SimonHoenscheid force-pushed the shoenscheid_postgresql_instances_initdb_class_to_define branch from eaba6b3 to df5b028 Compare January 24, 2023 13:42
bastelfreak
bastelfreak previously approved these changes Jan 25, 2023
@SimonHoenscheid SimonHoenscheid force-pushed the shoenscheid_postgresql_instances_initdb_class_to_define branch 3 times, most recently from 1818dd0 to 981be65 Compare January 26, 2023 09:44
This commit is the second of many to add multi instance support to this module.
The general idea is to first copy all classes which are used and create defines from them.
These classes will use the defines as is. Necessary changes for the instances itself will be added to the classes and defined types at a later point.
This ensures, the module will work as it does right now and there are no breaking changes.
@SimonHoenscheid SimonHoenscheid force-pushed the shoenscheid_postgresql_instances_initdb_class_to_define branch from 981be65 to 60da06d Compare January 26, 2023 11:28
@chelnak chelnak merged commit fb05c69 into puppetlabs:main Jan 26, 2023
@SimonHoenscheid SimonHoenscheid deleted the shoenscheid_postgresql_instances_initdb_class_to_define branch January 26, 2023 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants