-
Notifications
You must be signed in to change notification settings - Fork 289
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
Adding windows support. #438
Conversation
What are your general thoughts on this before I rebase? |
Quickly skimming it I didn't see anything that was a concern, sorry I haven't spent more time on it though in detail. I will try to do that still this week. |
Ok, I will try and rebase this tomorrow. |
hasrestart => $hasrestart, | ||
subscribe => [ Class['sensu::package'], Class['sensu::api::config'], Class['sensu::redis::config'] ], | ||
if $::osfamily != 'windows' { | ||
service { 'sensu-api': |
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.
Windows doesn't have the various sensu services?
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.
As far as I know and per the documentation I believe only the client is supported on windows.
@liamjbennett this still issues. bump. |
761286a
to
4ff61ba
Compare
This should allow the user to be able to install the sensu client on windows platforms.
dc2f1b4
to
4ed77ee
Compare
Would anyone care to have a go at fixing these Ruby 1.8.7 test failures?
|
This is a problem with the upstream remote_file module. I have raised an issue for that here: lwf/puppet-remote_file#24 I have also attempted to monkey patch but thus been unsuccessful. I would still prefer to use the remote_file module for this rather than archive because archive requires the faraday gem and that's just a pain to deal with. |
As per that issue it looks like 1.8.7 will not be supported so I need to look for an alternative if we are to continue to support 1.8.7 here. I guess I could just switch back to the wget module and add a note the the README. Does that sound ok @portertech? |
@liamjbennett it would seem that any alternative w/ 1.8 support is ideal to get this in 👍 |
@jlambert121 do we care about 1.8 anymore? |
@portertech yeah, unfortunately we care about 1.8 support since puppet 3.x still being used on RHEL6 machines is 1.8-based. Puppet 4 goes to an embedded ruby similar to sensu, but puppet 4 isn't widely deployed at this point. |
I have been recently informed that the latest version of puppet-archive doesn't require the faraday gem any more and to my knowledge still has 1.8.x support. I will try and move forward with that and see how far I get |
@liamjbennett awesome 👍 thanks. |
Just an update, I haven't had time to get back to this yet but in the mean time remote_file has been updated to support 1.8 so maybe I will go back and test this again. |
We want to use remote_file because wget support on windows isn't great and remote_file is ruby so supports multiple platforms better.
4ed77ee
to
1f6997d
Compare
Ok @portertech the upstream remote_file dependency seems to have fixed the previous 1.8 issue and this is now working :) |
@portertech bump. |
Thanks to everyone who has worked on this! |
This should allow the user to be able to install the sensu client on
windows platforms.