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

Macos #863

Merged
merged 2 commits into from
Jan 9, 2018
Merged

Macos #863

merged 2 commits into from
Jan 9, 2018

Conversation

ghoneycutt
Copy link
Collaborator

@ghoneycutt ghoneycutt commented Dec 28, 2017

Pull Request Checklist

Add client support for MacOS

Description

Add client support for MacOS

Related Issue

Rebase of Issue #826

Fixes #862

Motivation and Context

Supports another platform

How Has This Been Tested?

  • Vagrant

General

  • Update README.md with any necessary configuration snippets

  • New parameters are documented (no new params)

  • New parameters have tests (no new params)

  • New tests are written

  • Tested in Vagrant with Sensu Enterprise

  • csoleimani has signed off on this

@@ -21,7 +21,7 @@
}
}

if $::osfamily != 'windows' {
if $::osfamily !~ /(windows|Darwin)/ {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

instead of a negative regex this should just be

if $::kernel == 'Linux' {

@ghoneycutt
Copy link
Collaborator Author

@alvagante This is working in vagrant, though needs spec tests added for all the new changes. Could you please have a look.

@ghoneycutt
Copy link
Collaborator Author

Needs to be tested with sensu-enterprise

Copy link
Collaborator

@alvagante alvagante left a comment

Choose a reason for hiding this comment

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

I've added various darwin specific spec tests and tested also on sensu enterprise vagrant.
ghoneycutt#3

Note that I didn't reproduce ALL the tests conditions for MacOS but limited to the resources where we actually changed things.

@ghoneycutt
Copy link
Collaborator Author

@csoleimani can you please test this and let us know how it goes?

@csoleimani
Copy link

yup, will test it with our environment tomorrow

@csoleimani
Copy link

seems to work fine for me 👍

@ghoneycutt
Copy link
Collaborator Author

Thanks @csoleimani and @alvagante for all the hard work to add MacOS support!!

@ghoneycutt ghoneycutt merged commit 60443d5 into sensu:master Jan 9, 2018
@ghoneycutt
Copy link
Collaborator Author

Released in v2.45.0

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