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

Initital fix for sensu on windows #588

Merged
merged 2 commits into from
Feb 8, 2017
Merged

Initital fix for sensu on windows #588

merged 2 commits into from
Feb 8, 2017

Conversation

dzeleski
Copy link
Contributor

@dzeleski dzeleski commented Nov 30, 2016

Initial fix for sensu on windows. This was tested minimally. Further support should be added to override user if needed.

NOTE: you must set manage_user to false on windows

dzeleski added 2 commits November 30, 2016 11:24
Changed windows user and group for sensu config. Also set manage user to false as the current logic is not compatible with windows
@dschaaff
Copy link

Sorry I haven't been able to test the change yet. In working through a puppet 4 migration but hope to crack at it before the end of the week.

@unclespeedo
Copy link

I have tested this and it works as described.

Thank you.

@jaxxstorm jaxxstorm merged commit edfdab9 into sensu:master Feb 8, 2017
@dzeleski
Copy link
Contributor Author

dzeleski commented Feb 8, 2017

Beautiful. Ty @unclespeedo. @jaxxstorm when I have some time later this month (hopefully) Ill make another pull to support overriding the user as well as creating a local user. The second might be slightly harder due to system permissions, but I could see a reason for users to want to pick a service account that sensu runs on.

@unclespeedo
Copy link

My pleasure @dzeleski, feel free to @ me if you need help testing anything on the Windows side.

cdenneen added a commit to cdenneen/sensu-puppet that referenced this pull request Mar 29, 2017
Until better user management for windows installs can
be added this is to prevent attempting to create user/group
on windows platform regardless of the manage_user parameter.
Fixes issue sensu#617
* NOTE: This would have been better as a case statement in a
params.pp class but since that isn't implemented this is a
crude workaround for the time being. This is also the default requirement
for PR sensu#588
cdenneen added a commit to cdenneen/sensu-puppet that referenced this pull request Mar 30, 2017
Until better user management for windows installs can
be added this is to prevent attempting to create user/group
on windows platform regardless of the manage_user parameter.
Fixes issue sensu#617
* NOTE: This would have been better as a case statement in a
params.pp class but since that isn't implemented this is a
crude workaround for the time being. This is also the default requirement
for PR sensu#588
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