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

Remove unused manifests #640

Merged
merged 9 commits into from
Dec 11, 2023
Merged

Remove unused manifests #640

merged 9 commits into from
Dec 11, 2023

Conversation

antmoth
Copy link
Contributor

@antmoth antmoth commented Dec 5, 2023

I got the list of unused manifests by comparing a puppet-db query for roles and profiles in use with a list of roles and profiles in Nebula. I've deliberately kept log_host and fulcrum::nginx because log_host is in use on brandy and we will want fulcrum::nginx later.

Noah let me know that named_instances could also go, since we aren't using it for anything new and removing the definitions won't affect anything currently deployed. I did end up keeping part of named_instances::apache for standalone_app_host, which only needed the class definition (according to the tests....) so perhaps that could be done another way.

@antmoth antmoth requested review from botimer and skorner December 5, 2023 19:27
Copy link
Member

@skorner skorner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks pretty great and thorough to me. I left one question.

I don't see anything not in use that we want to keep that hasn't already been addressed.

Your solution for maintaining the apache class definition seems reasonable. Although the comments in that new profile should probably be adjusted to reflect why it exists.

Thanks!

spec/classes/all_roles_spec.rb Show resolved Hide resolved
@antmoth antmoth merged commit 38a4af4 into master Dec 11, 2023
1 check passed
@antmoth antmoth deleted the remove_unused_manifests branch December 11, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants