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

Fixes redis-lb logrotate file creation ownership #3697

Merged
merged 3 commits into from
Oct 17, 2023

Conversation

fretb
Copy link
Contributor

@fretb fretb commented Aug 25, 2023

Description

Default logrotate.conf template uses
ChefUtils::Dist::Org::LEGACY_CONF_DIR, in Cinc Server, this is not the correct user. Using the ownership helper that's also used for nginx logrotate seems better.

Issues Resolved

https://gitlab.com/cinc-project/distribution/server/-/issues/30

Check List

Default logrotate.conf template uses
`ChefUtils::Dist::Org::LEGACY_CONF_DIR`, in Cinc Server, this is not the
correct user. Using the ownership helper that's also used for nginx
logrotate seems better.

Signed-off-by: Frederik Thuysbaert <frederik.thuysbaert@combell.group>
@fretb fretb requested review from a team as code owners August 25, 2023 12:01
@netlify
Copy link

netlify bot commented Aug 25, 2023

👷 Deploy Preview for chef-server processing.

Name Link
🔨 Latest commit a312614
🔍 Latest deploy log https://app.netlify.com/sites/chef-server/deploys/652e2b6dfa68d20008d70970

@sonarcloud
Copy link

sonarcloud bot commented Aug 25, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Tensibai
Copy link

Copy link
Member

@marcparadise marcparadise 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 good to me, and makes it consistent with other services log rotate file ownership.

@sonarcloud
Copy link

sonarcloud bot commented Oct 17, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@johnmccrae johnmccrae merged commit 9d44269 into chef:main Oct 17, 2023
9 of 11 checks passed
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.

4 participants