Skip to content

(maint) fix puppetdb-env.erb so it generates valid bash#1225

Merged
kbarber merged 1 commit intopuppetlabs:stablefrom
wkalt:maint/stable/fix-puppetdb-env-erb-newlines
Jan 29, 2015
Merged

(maint) fix puppetdb-env.erb so it generates valid bash#1225
kbarber merged 1 commit intopuppetlabs:stablefrom
wkalt:maint/stable/fix-puppetdb-env-erb-newlines

Conversation

@wkalt
Copy link
Contributor

@wkalt wkalt commented Jan 23, 2015

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

@pljenkinsro
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/459/

@ajroetker
Copy link
Contributor

I don't think we use that file in our packaging any more? I'm not sure about stable though.

@wkalt
Copy link
Contributor Author

wkalt commented Jan 28, 2015

@ajroetker yeah affects stable. A customer raised it on PE 3.3.1.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@kbarber kbarber added the work in progress (...and please don't merge) label Jan 28, 2015
An example is here: https://gist.github.com/wkalt/fe8949ea40eb95c3aa9b

note that JAVA_BIN and INSTALL_DIR are on the same line
@wkalt wkalt force-pushed the maint/stable/fix-puppetdb-env-erb-newlines branch from dd34c9e to 104737a Compare January 28, 2015 15:14
@wkalt
Copy link
Contributor Author

wkalt commented Jan 28, 2015

@kbarber fixed

@wkalt wkalt removed the work in progress (...and please don't merge) label Jan 28, 2015
@pljenkinsro
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/485/

@rbrw
Copy link
Contributor

rbrw commented Jan 28, 2015

@pljenkinsro retest this please

@pljenkinsro
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/488/

@rbrw
Copy link
Contributor

rbrw commented Jan 28, 2015

@pljenkinsro retest this please

@pljenkinsro
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/490/

@rbrw
Copy link
Contributor

rbrw commented Jan 28, 2015

@pljenkinsro retest this please

@pljenkinsro
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/491/

@rbrw
Copy link
Contributor

rbrw commented Jan 29, 2015

@pljenkinsro retest this please

@pljenkinsro
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/493/

kbarber added a commit that referenced this pull request Jan 29, 2015
…-newlines

(maint) fix puppetdb-env.erb so it generates valid bash
@kbarber kbarber merged commit 0d0c20e into puppetlabs:stable Jan 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants