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 old version from template name #700

Closed
wants to merge 1 commit into from

Conversation

stevenpost
Copy link
Contributor

Cherry-picked from #677

That PR needs some work, so taking this out, as it seems like a no brainer and doesn't belong there. This makes it a bit easier to maintain/edit that branch.

@h-haaks h-haaks self-requested a review March 18, 2024 12:42
@@ -119,7 +119,7 @@
} else {
# Template has available user-supplied data
# - $config_data
$cfg_content = template('mongodb/mongodb.conf.2.6.erb')
$cfg_content = template('mongodb/mongodb.conf.erb')
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't the name here reflecting the fact that the template produces 2.6 formatted config?
Wouldn't it be better to keep the filename and introduce yaml based config in a new template?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That sounds reasonable.

@stevenpost
Copy link
Contributor Author

Close after comment #700 (comment)

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.

3 participants