GitHub user aledsage opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/985
Fix: SetHostnameCustomizer error handling
Adds support for MACHINE_FILTER, so you can tell it not to run against
windows machines etc. Default is only to run against `SshMachineLocation`
machines.
Also adds some tests for Exceptions (as I added an extra utility method
there, to make my test easier to write).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aledsage/incubator-brooklyn
fix/SetHostnameCustomizer-error-handling
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/985.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #985
----
commit 474d95ba223cb0746198b215cd94386db5dcc36d
Author: Aled Sage <[email protected]>
Date: 2015-10-22T19:58:08Z
Adds Exceptions.getFirstThrowableMatching
commit 790f55cb0120b47fe942519b90b1bb554a367dab
Author: Aled Sage <[email protected]>
Date: 2015-10-22T19:59:15Z
Adds SetHostnameCustomizer.MACHINE_FILTER config
Defaults to only executing against machines of type SshMachineLocation.
But can be set to exclude other machines as needed.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---