Date
1 - 4 of 4
bosh-init install question
Lynn Lin
All,
I am on the page http://bosh.io/docs/install-bosh-init.html and am wondering what's purpose for this section ? Is this for ruby2? Depending on your platform install following packages: Ubuntu Trusty $ sudo apt-get install -y build-essential zlibc zlib1g-dev ruby ruby-dev openssl libxslt-dev libxml2-dev libssl-dev libreadline6 libreadline6-dev libyaml-dev libsqlite3-dev sqlite3 |
|
Dr Nic Williams
bosh-init (or the new bosh2 cli's create-env command) will download some yet-to-be-compiled modules called CPIs. Some CPIs are written in Ruby - the ruby itself is also downloaded automatically and installed in a special private place; but Ruby has some system dependencies to work. Instead of also downloading those as well, the CPI module will just require that you have them pre installed.
toggle quoted message
Show quoted text
On Thu, Mar 16, 2017 at 8:34 PM -0700, "Lynn Lin" <lynn.lin(a)emc.com> wrote:
All, I am on the page http://bosh.io/docs/install-bosh-init.html and am wondering what's purpose for this section ? Is this for ruby2? Depending on your platform install following packages: Ubuntu Trusty $ sudo apt-get install -y build-essential zlibc zlib1g-dev ruby ruby-dev openssl libxslt-dev libxml2-dev libssl-dev libreadline6 libreadline6-dev libyaml-dev libsqlite3-dev sqlite3 |
|
Marco Voelz
Hi Lynn,
toggle quoted message
Show quoted text
The ruby dependencies are necessary for bosh-init, because it renders manifest templates with ruby. See https://github.com/cloudfoundry/bosh-init/blob/master/templatescompiler/erbrenderer/template_evaluation_context_rb.go for all its beauty. Warm regards Marco From: Dr Nic Williams <drnicwilliams(a)gmail.com> Reply-To: "Discussions about the Cloud Foundry BOSH project." <cf-bosh(a)lists.cloudfoundry.org> Date: Friday, 17 March 2017 at 06:18 To: "Discussions about the Cloud Foundry BOSH project." <cf-bosh(a)lists.cloudfoundry.org> Subject: [cf-bosh] Re: bosh-init install question bosh-init (or the new bosh2 cli's create-env command) will download some yet-to-be-compiled modules called CPIs. Some CPIs are written in Ruby - the ruby itself is also downloaded automatically and installed in a special private place; but Ruby has some system dependencies to work. Instead of also downloading those as well, the CPI module will just require that you have them pre installed. On Thu, Mar 16, 2017 at 8:34 PM -0700, "Lynn Lin" <lynn.lin(a)emc.com<mailto:lynn.lin(a)emc.com>> wrote:
All, I am on the page http://bosh.io/docs/install-bosh-init.html and am wondering what's purpose for this section ? Is this for ruby2? Depending on your platform install following packages: Ubuntu Trusty $ sudo apt-get install -y build-essential zlibc zlib1g-dev ruby ruby-dev openssl libxslt-dev libxml2-dev libssl-dev libreadline6 libreadline6-dev libyaml-dev libsqlite3-dev sqlite3 |
|
Marco Voelz
Correction: I didn't mean manifest templates, I meant job templates of the installed releases, which are .erb templates, even for releases written in different languages. See e.g. something like https://github.com/cppforlife/bosh-virtualbox-cpi-release/blob/master/jobs/virtualbox_cpi/templates/cpi.json.erb in the virtualbox cpi, which is written in golang.
toggle quoted message
Show quoted text
Warm regards Marco From: "Voelz, Marco" <marco.voelz(a)sap.com> Date: Friday, 17 March 2017 at 11:04 To: "Discussions about the Cloud Foundry BOSH project." <cf-bosh(a)lists.cloudfoundry.org> Subject: Re: [cf-bosh] Re: bosh-init install question Hi Lynn, The ruby dependencies are necessary for bosh-init, because it renders manifest templates with ruby. See https://github.com/cloudfoundry/bosh-init/blob/master/templatescompiler/erbrenderer/template_evaluation_context_rb.go for all its beauty. Warm regards Marco From: Dr Nic Williams <drnicwilliams(a)gmail.com> Reply-To: "Discussions about the Cloud Foundry BOSH project." <cf-bosh(a)lists.cloudfoundry.org> Date: Friday, 17 March 2017 at 06:18 To: "Discussions about the Cloud Foundry BOSH project." <cf-bosh(a)lists.cloudfoundry.org> Subject: [cf-bosh] Re: bosh-init install question bosh-init (or the new bosh2 cli's create-env command) will download some yet-to-be-compiled modules called CPIs. Some CPIs are written in Ruby - the ruby itself is also downloaded automatically and installed in a special private place; but Ruby has some system dependencies to work. Instead of also downloading those as well, the CPI module will just require that you have them pre installed. On Thu, Mar 16, 2017 at 8:34 PM -0700, "Lynn Lin" <lynn.lin(a)emc.com<mailto:lynn.lin(a)emc.com>> wrote:
All, I am on the page http://bosh.io/docs/install-bosh-init.html and am wondering what's purpose for this section ? Is this for ruby2? Depending on your platform install following packages: Ubuntu Trusty $ sudo apt-get install -y build-essential zlibc zlib1g-dev ruby ruby-dev openssl libxslt-dev libxml2-dev libssl-dev libreadline6 libreadline6-dev libyaml-dev libsqlite3-dev sqlite3 |
|