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

Is Windows support feasible? #109

Open
jjustice6 opened this issue Mar 22, 2017 · 2 comments
Open

Is Windows support feasible? #109

jjustice6 opened this issue Mar 22, 2017 · 2 comments

Comments

@jjustice6
Copy link

I see there's a Windows logrotate cookbook: https://supermarket.chef.io/cookbooks/windows_logrotate

Would it be feasible for Windows support to be included in the logrotate_app resource, or are they too far apart for that to be viable?

@stevendanna
Copy link
Contributor

@jjustice6 Taking a /quick/ look at the examples in the README, it seems that it may be feasible given that the configuration formats look similar. I'd happily take a well-written contribution that adds windows support, but as I don't use windows regularly at all, I can't commit to supporting it myself.

@rjhornsby
Copy link

This is doable, and made much easier by using a powershell module that's directly compatible with logrotate's config format - https://www.powershellgallery.com/packages/Log-Rotate/1.5.4.

It's mostly a matter of getting the PS module and 7zip (for compression) installed, and then some minor setup. I won't pretend to have done it the right way because I mostly live in the linux world.

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

No branches or pull requests

5 participants