(maint) fix puppetdb-env.erb so it generates valid bash#1225
Conversation
|
Test PASSed. |
|
I don't think we use that file in our packaging any more? I'm not sure about stable though. |
|
@ajroetker yeah affects stable. A customer raised it on PE 3.3.1. |
ext/templates/puppetdb-env.erb
Outdated
There was a problem hiding this comment.
Hrm ... not sure this is going to be a problem or not, I think we should keep quoting stuff where we were before. Should be only the unquoted elements that were a problem before. Perhaps even considering quote JAVA_BIN now ... for example this won't handle spaces in the file paths I think.
An example is here: https://gist.github.com/wkalt/fe8949ea40eb95c3aa9b note that JAVA_BIN and INSTALL_DIR are on the same line
dd34c9e to
104737a
Compare
|
@kbarber fixed |
|
Test FAILed. |
|
@pljenkinsro retest this please |
|
Test FAILed. |
|
@pljenkinsro retest this please |
|
Test FAILed. |
|
@pljenkinsro retest this please |
|
Test FAILed. |
|
@pljenkinsro retest this please |
|
Test PASSed. |
…-newlines (maint) fix puppetdb-env.erb so it generates valid bash
There is a bug affecting some OSes where this template will miss a necessary newline in the bash it generates. An example is here:
https://gist.github.com/wkalt/fe8949ea40eb95c3aa9b
note that JAVA_BIN and INSTALL_DIR are on the same line