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

(PUP-4918) rotate instead of reload for logrotate #6301

Conversation

MosesMendoza
Copy link
Contributor

This PR contains the content of #5708, with the commit message amended per contributing guidelines.

From that PR:

ext/redhat/logrotate: really avoid 'service puppet reload' in favor of 'service
puppet rotate' with the correct signal

It looks like there was an intention to introduce this fix in
793d713
'(PUP-4918) Updated logrotate and init scripts',
where the "rotate" command was added to
ext/redhat/client.init specifically for this purpose.

This doesn't apply to ext/debian/puppet.logrotate because
ext/debian/puppet.init lacks a special command with this signal.

ext/redhat/logrotate: really avoid 'service puppet reload' in favor of 'service
puppet rotate' with the correct signal

It looks like there was an intention to introduce this fix in
793d713
'(PUP-4918) Updated logrotate and init scripts',
where the "rotate" command was added to
ext/redhat/client.init specifically for this purpose.

This doesn't apply to ext/debian/puppet.logrotate because
ext/debian/puppet.init lacks a special command with this signal.
Copy link
Member

@justinstoller justinstoller left a comment

Choose a reason for hiding this comment

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

Looks like a trivial fix to an oversight in the original PR.

One thing to keep in mind is this is for puppetd, not server (which is handled differently).

@MosesMendoza
Copy link
Contributor Author

yeah this would basically be only for folks still running passenger

@justinstoller justinstoller merged commit 5b4dc3b into puppetlabs:master Oct 24, 2017
@puppetcla
Copy link

CLA signed by all contributors.

imz referenced this pull request in imz/puppet Dec 24, 2019
…f 'service puppet rotate' with the correct signal

It looks like there was an intention to introduce this fix in
793d713
'(PUP-4918) Updated logrotate and init scripts',
where the "rotate" command was added to
ext/redhat/client.init specifically for this purpose.

This doesn't apply to ext/debian/puppet.logrotate because
ext/debian/puppet.init lacks a special command with this signal.
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.

None yet

4 participants