GitHub user rdowner reopened a pull request:
https://github.com/apache/incubator-brooklyn/pull/460
JcloudsLocation set arbitrary template options
Adds new config key for JcloudsLocation, templateOptions, that takes a
Map<String,String> for setting arbitrary template options. For each entry,
searches for a method with the same name as the key, with a single parameter
that TypeCoercions supports. The method is then invoked with the value. If such
a method cannot be found, then a warning is printed to the log.
The config key's value can be expressed as a YAML fragment in blueprints or
in brooklyn.properties:
```properties
brooklyn.location.named.softlayer-ams01.templateOptions={ domainName:
'example.com' }
```
```yaml
location:
jclouds:softlayer:ams01:
templateOptions:
domainName: 'example.com'
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rdowner/incubator-brooklyn
general-purpose-template-options-setting
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/460.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 #460
----
commit 90c673377aaefca412cedd0bdfea7f1e8ba9fc75
Author: Richard Downer <[email protected]>
Date: 2015-01-21T12:41:22Z
JcloudsLocation set arbitrary template options
Adds new config key for JcloudsLocation, templateOptions, that takes a
Map<String,String> for setting arbitrary template options. For each
entry, searches for a method with the same name as the key, with a
single parameter that TypeCoercions supports. The method is then invoked
with the value. If such a method cannot be found, then a warning is
printed to the log.
The config key's value can be expressed as a YAML fragment in blueprints
or in brooklyn.properties:
```properties
brooklyn.location.named.softlayer-ams01.templateOptions={ domainName:
'example.com' }
```
```yaml
location:
jclouds:softlayer:ams01:
templateOptions:
domainName: 'example.com'
```
----
---
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.
---