-
Notifications
You must be signed in to change notification settings - Fork 236
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
Add support for Ubuntu 14.04 LTS #32
Conversation
I'm also having this issue and looked at the provided patch. The fix of making a template out of logrotate.conf.erb looks good. It might be more general to put tests in the os-specific classes (logrotate::defaults::debian for example) for OS versions that use the new version of logrotate. Thoughts from rodjek? Thanks. Jeff |
@@ -5,6 +5,12 @@ | |||
# rotate log files weekly | |||
weekly | |||
|
|||
<% if @lsbmajdistrelease and (scope.function_versioncmp([@lsbmajdistrelease, '14']) >= 0) -%> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should also check lsbdistid
to ensure that this only applies to Ubuntu > 14.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do I need to check both?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rodjek Ping
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You want to check both to insure that this change doesn't happen on distros other than Ubuntu. I.e. this would incorrectly be applied to Fedora releases > 14.
Whats the state here? |
Looks good, I too have this issue and I am currently having to use this branch. |
Fix puppet-lint issues and bad style
Closing. I don't have time to address feedback |
No description provided.