Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've just installed Cloudfoundry Server PaaS on Ubuntu 11.10 following this step-by-step guide. How do I install the same on Ubuntu 12.04?

I have tried to install cloudfoundry v2 on Ubuntu 12.04 using vagrant, but that version is not perfectly installed yet. Many service like mysql, redis etc not included yet.

Then I trid to install cloudfoundry with chef, but i got error like bellow :

Recipe Compile Error in /home/user1/cloudfoundry/vcap/dev_setup/cookbooks/cloud_controller/attributes/default.rb

Bellow full log message :

$ bash < <(curl -s -k -B

Installing wget...
Reading package lists...
Building dependency tree...
Reading state information...

[2013-08-27T14:31:42+00:00] INFO: Starting Chef Run for
[2013-08-27T14:31:42+00:00] INFO: Running start handlers
[2013-08-27T14:31:42+00:00] INFO: Start handlers complete.
Compiling Cookbooks...

Recipe Compile Error in /home/user1/cloudfoundry/vcap/dev_setup/cookbooks/cloud_controller/attributes/default.rb

Undefined node attribute or method `include_recipe' on `node'

Cookbook Trace:
  /home/user1/cloudfoundry/vcap/dev_setup/cookbooks/cloud_controller/attributes/default.rb:1:in `from_file'

Relevant File Content:

  1>> include_recipe "deployment"
  2:  include_attribute "postgresql"
  3:  include_attribute "redis"
  4:  include_attributes "uaa"
  5:  include_attributes "service_lifecycle"
  7:  default[:deployment][:welcome] = "VMware's Cloud Application Platform"
  9:  default[:cloud_controller][:config_file] = "cloud_controller.yml"
 10:  default[:cloud_controller][:service_api_uri] = "http://api.#{node[:deployment][:domain]}"

[2013-08-27T14:31:42+00:00] ERROR: Running exception handlers
[2013-08-27T14:31:42+00:00] ERROR: Exception handlers complete
[2013-08-27T14:31:42+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated
[2013-08-27T14:31:42+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
user1@paas:~$ uname -a
Linux paas 3.2.0-39-virtual #62-Ubuntu SMP Thu Feb 28 00:48:27 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
user1@paas:~$ nano /home/user1/cloudfoundry/vcap/dev_setup/cookbooks/cloud_controller/attributes/default.rb
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.