GitHub user grkvlt opened a pull request:
https://github.com/apache/brooklyn-server/pull/168
[WIP] Configure JcloudsLocationCustomizer as an entity initializer
This modifies the `BasicJcloudsLocationCustomizer` to implement
`EntityInitializer` so that customizers can be configured on a per-entity basis
by adding them to the `brooklyn.initializers` section of a YAML blueprint. The
customizer will be initialized with a `ConfigBag` containing the contents of
`brooklyn.config` and the `apply()` method then adds the customizer to the
`JCLOUDS_LOCATION_CUSTOMIZERS` configuration key, so that it is picked up
during `obtain()`.
The new `InstallPackagesCustomizer` added here is based on discussion on
the Brooklyn list, and creates a new `BashCommands#installPackages()` command
and runs it on the newly provisioned machine.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/grkvlt/brooklyn-server add-jclouds-customizer
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/168.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 #168
----
commit d3b4d1b412ff5cdf52333d141c424fa254242680
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-05-30T19:13:42Z
Configure JcloudsLocationCustomizer as an entity initializer
- Add new InstallPackagesCustomizer
----
---
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.
---