Skip to content

Add multi instance support, refactoring config.pp (1/x) #1382

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

Conversation

SimonHoenscheid
Copy link
Collaborator

This commit is the first 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
Copy link
Collaborator Author

I will add a spec test for the defined ressource and copy parameter docs from the server class to the defined ressource if available.

@SimonHoenscheid SimonHoenscheid force-pushed the shoenscheid_postgresql_instances_config_class_to_define branch 4 times, most recently from 4c78dec to 93a08db Compare January 11, 2023 16:36
@kenyon
Copy link
Contributor

kenyon commented Jan 12, 2023

Typo in PR and commit title, "instance".

@SimonHoenscheid SimonHoenscheid changed the title Add multi instace support, refactoring config.pp Add multi instance support, refactoring config.pp Jan 12, 2023
@SimonHoenscheid SimonHoenscheid force-pushed the shoenscheid_postgresql_instances_config_class_to_define branch 8 times, most recently from 74c0f3f to b2fe787 Compare January 12, 2023 11:01
@SimonHoenscheid SimonHoenscheid marked this pull request as ready for review January 12, 2023 12:08
@SimonHoenscheid SimonHoenscheid requested a review from a team as a code owner January 12, 2023 12:08
@SimonHoenscheid SimonHoenscheid changed the title Add multi instance support, refactoring config.pp Add multi instance support, refactoring config.pp (1/x) Jan 16, 2023
This commit is the first 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_config_class_to_define branch from b2fe787 to 8f17f52 Compare January 24, 2023 13:32
@chelnak
Copy link
Contributor

chelnak commented Jan 25, 2023

There seems to be a bigger issue with the acceptance tests causing hangs. Happy to merge this.

@chelnak chelnak merged commit 3ee94b6 into puppetlabs:main Jan 25, 2023
@SimonHoenscheid SimonHoenscheid deleted the shoenscheid_postgresql_instances_config_class_to_define branch January 25, 2023 15:42
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