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

Drop Ubuntu 10/12/14 code #1385

Merged
merged 1 commit into from
Jan 23, 2021
Merged

Drop Ubuntu 10/12/14 code #1385

merged 1 commit into from
Jan 23, 2021

Conversation

bastelfreak
Copy link
Member

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@@ -130,14 +130,6 @@
'log_mode' => '0755',
'run_dir' => '/run/nginx',
}
} else {
Copy link
Member

Choose a reason for hiding this comment

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

Why drop this? Doesn't Ubuntu 18.04 hit this? I also think it'd be a better and safer thing to have an else clause. If anything, Xenial should perhaps not manage the repo at all.

Copy link
Member Author

Choose a reason for hiding this comment

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

the syntax isn't perfect here, above this block is one explicitly for Debian 9/10 and Ubuntu 18

Copy link
Member

Choose a reason for hiding this comment

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

Still, having a safe default feels better to me. I'd also be in favor of dropping manage_repo => true and moving to not managing it by default. Then we can make the else block the future proof one so Debian 11/Ubuntu 20.04 are more likely to just work.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure if we should change any default here. However I'm fine with providing a default block that catches newer ubuntu/debian version to be future-proof. My personal preference is also to always use the upstream repositories and not the packages from Ubuntu.

@puppet-community-rangefinder
Copy link

nginx::params is a class

Breaking changes to this file MAY impact these 1 modules (near match):

This module is declared in 11 of 578 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.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

I feel that the manage_repo behavior should be documented in the changelog somehow.

@ekohl ekohl mentioned this pull request Jan 22, 2021
@ekohl
Copy link
Member

ekohl commented Jan 22, 2021

I feel that the manage_repo behavior should be documented in the changelog somehow.

Can we open an issue for this and let this PR close it? Then it's documented.

@bastelfreak
Copy link
Member Author

closes #1441

@bastelfreak bastelfreak merged commit 7d3c23c into master Jan 23, 2021
@bastelfreak bastelfreak deleted the ubuntu2 branch January 23, 2021 18:09
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.

2 participants