Re: Preserve line returns in Global Variables (to support YAML)

2016-10-12 Thread Marc O'Brien
Hi Ben, Thank you for the collaboration on this issue. We are looking at this internally for resolution in a future version of Scalr. Your efforts are much appreciated. Please let us know if you run in to anything else moving forward. Cheers, Wm. Marc O'Brien Scalr Technical Support On

Re: Preserve line returns in Global Variables (to support YAML)

2016-10-12 Thread Ben West
Following up that I created an issue on Scalr github: https://github.com/Scalr/scalr/issues/80 On Tuesday, October 11, 2016 at 1:56:09 PM UTC-5, Ben West wrote: > > Actually, turns out the issue is with Scalr web UI stripping newlines from > default variable values populated at lower scopes.

Re: Preserve line returns in Global Variables (to support YAML)

2016-10-11 Thread Ben West
Actually, turns out the issue is with Scalr web UI stripping newlines from default variable values populated at lower scopes. When I create a global variable with default value, the correctly formatted YAML looks like this: [image: Inline image 2] If I then want to override that variable at the

Re: Preserve line returns in Global Variables (to support YAML)

2016-10-10 Thread Daniele Testa
Try putting the command "env" in a Scalr Script and see if the new-lines are really cut. If you use "echo" to print the variable, make sure that you use "echo -e" to enable new-line conversion. On Tue, Oct 11, 2016 at 4:07 AM, Ben West wrote: > I'm curious if there is a

Preserve line returns in Global Variables (to support YAML)

2016-10-10 Thread Ben West
I'm curious if there is a way to preserve '\n' line returns in a Global Variable, specifically so that one can pass YAML to launched servers. Testing on a copy of Scalr v5.10 seems to indicate the line returns being stripped, and it looks like the printf format string field can't be used