-
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
Fix Package[sensu] on windows #699
Merged
ghoneycutt
merged 18 commits into
sensu:master
from
jeffmccune:646_fix_error_on_win2012r2
Jun 30, 2017
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
c032808
(Maint) Ignore direnv and rbenv dotfiles
jeffmccune 10a781b
(Maint) Change windows user management warning to a notice
jeffmccune c8a2475
(GH-646) Add failing test case
jeffmccune 148666c
(GH-646) Add tests/sensu-client-windows.pp
jeffmccune 2324425
(GH-681) Add Vagrant provisioning for Win2012r2
jeffmccune ff8d2aa
(GH-646) Bump windows VM from 512 to 1024 ram
jeffmccune 0fa31e4
(GH-646) Bump Win VM memory to 2048 to fix ruby hanging
jeffmccune abadfa2
Use $sensu::dir_mode in RabbitMQ configuration.
jmkeyes 1a1b52a
Use $pkg_title for all Sensu package resource references.
jmkeyes d42f79c
(GH-646) Use Package[sensu], not Package[Sensu] on Windows
jeffmccune 8f3a15b
(GH-646) Default sensu package version to installed
jeffmccune 08d6c27
(GH-646) Allow package source URL override using windows_pkg_url
jeffmccune 634bf10
(GH-646) Fix Exec[install-sensu-client] powershell error
jeffmccune 28e57bc
(GH-646) Make Vagrant Win puppet.msi install more robust
jeffmccune 18cfc7c
(GH-646) Switch Exec[install-sensu-client] to Powershell
jeffmccune dc57895
(GH-646) Make win msi install idempotent
jeffmccune 98513d0
(GH-646) Map windows MSI file versions to OS versions
jeffmccune 16ef568
(GH-646) Fix vagrant win 1vcpu, port 3389, puppet-agent.log
jeffmccune File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,3 +45,7 @@ log/ | |
vendor/ | ||
sensu.komodoproject | ||
doc/** | ||
|
||
# direnv & rbenv | ||
/.envrc | ||
/.ruby-version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This avoids
Provider sensu_gem is not functional
on windows. Considered moving the behavior to package.pp, put it here to make it clear.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.
is it not embedded on windows?
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.
Gem is embedded on windows, e.g. https://github.com/sensu/sensu-puppet/blob/30fe995/lib/puppet/provider/package/sensu_gem.rb#L16
It seems the parent
gem
provider in puppet has a confinement preventing it from working on Windows. My guess is sensu_gem is inheriting this. I'll see if I can override and sensu_gem works.