Github user geomacy commented on the issue:
https://github.com/apache/brooklyn-server/pull/554
I'd actually prefer to leave things as they are - surely the more we mess
around with input texts the harder it is for users to know what to write to get
what they want? Shouldn't we aim for "least unexpected"?
Graeme's example looks perfectly fine to me, in the sense that
```
brooklyn.config:
brooklyn.cfg.additions: |
brooklyn.location.jclouds.aws-ec2.identity = test_ident
brooklyn.location.jclouds.aws-ec2.credential = test_key
```
defines a multi-line value (text separated by ascii 0x0a), and then bash
does what bash does in such a case, so in this case Graeme's output
```
BROOKLYN_CFG_ADDITIONS="brooklyn.location.jclouds.aws-ec2.identity =
test_ident
brooklyn.location.jclouds.aws-ec2.credential = test_key"
```
looks right, even if it's not what you were trying to achieve. In this
case, knowing that the environment variable is 0x0a separated, you would
instead go for printf, or write to a file, or whatever - I'm not sure exactly
what the intention is.
WDYT?
---
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.
---