GitHub user aledsage opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/525
Fix: no-hostname, and cluster.replaceMember
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aledsage/incubator-brooklyn
fix/various-20150220
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/525.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 #525
----
commit 5a939a2bb4386a403938d8a50d870fb57239d8df
Author: Aled Sage <[email protected]>
Date: 2015-02-20T14:23:58Z
Fix DynamicCluster.replaceMember for MultiLocation
- When using replaceMember with a SoftwareProcess, the member had
two locations (the MachineProvisioningLocation and the
SshMachineLocation). This was causing an exception to be thrown.
commit ca0e6406a8d202891cefa1baa1bacfd7052f08b6
Author: Aled Sage <[email protected]>
Date: 2015-02-23T17:29:15Z
Add BashCommands.setHostname
- A good implementation for CentOS/RHEL, and a poor implementation
for everything else (because not persisted on reboot).
- Also adds BashCommands.prependToEtcHosts and .appendToEtcHosts
- checkJavaHostnameBug() also checks for no hostname.
----
---
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.
---