gocd / go-cookbook

Cookbook that installs and configures the open-source ThoughtWorks Studios GoCD product
http://www.gocd.org/
Apache License 2.0
44 stars 66 forks source link

added ability to add extra lines to init defaults file #71

Closed willejs closed 8 years ago

willejs commented 8 years ago

I want to enable ipv4 by adding the following line to the defaults file: 'export _JAVA_OPTIONS="-Djava.net.preferIPv4Stack=true" But actually others might want to customise some of the variables the init script uses and the shell script, so i thought id add a more flexible option.

willejs commented 8 years ago

@tomzo Ive fixed this now. Any other objections or can you merge? :smile_cat:

tomzo commented 8 years ago

@willejs I like this. Some tests would be nice, but'll merge it anyway. Thanks a lot :)

ketan commented 8 years ago

:+1: I was about to submit a PR for this in the next couple of days for GoCD's own build machines.