Coder Social home page Coder Social logo

chef-openerp-cookbook's People

Contributors

mburns avatar plexus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chef-openerp-cookbook's Issues

nomethod error: postgres_role

Hi!

I"m getting a nomethod error while deploying openerp via chef recipe. Your help would be really appreciated.

Following are the details:
os: ubuntu 10.4
recipe: postgresql : 0.99.2
recipe : openerp: 0.0.1

[Mon, 05 Mar 2012 11:00:24 +0530] INFO: execute[apt-get update] ran successfully
[Mon, 05 Mar 2012 11:00:24 +0530] INFO: Processing package[postgresql-client] action install (postgresql::client line 37)
[Mon, 05 Mar 2012 11:00:24 +0530] INFO: Processing package[libpq-dev] action install (postgresql::client line 37)
[Mon, 05 Mar 2012 11:00:24 +0530] INFO: Processing gem_package[pg] action install (postgresql::client line 42)
[Mon, 05 Mar 2012 11:00:42 +0530] INFO: gem_package[pg] installed version 0.13.2
[Mon, 05 Mar 2012 11:00:44 +0530] ERROR: Running exception handlers
[Mon, 05 Mar 2012 11:00:44 +0530] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[Mon, 05 Mar 2012 11:00:44 +0530] ERROR: Exception handlers complete
[Mon, 05 Mar 2012 11:00:44 +0530] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[Mon, 05 Mar 2012 11:00:44 +0530] FATAL: NoMethodError: undefined method `postgresql_role' for #Chef::Recipe:0x7f8db131c4c8

root@udev1:~# cat /var/chef/cache/chef-stacktrace.out
Generated at Mon Mar 05 11:00:44 +0530 2012
NoMethodError: undefined method postgresql_role' for #<Chef::Recipe:0x7f8db131c4c8> /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:56:inmethod_missing'
/var/chef/cache/cookbooks/openerp/recipes/database.rb:30:in from_file' /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/cookbook_version.rb:578:inload_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/language_include_recipe.rb:40:in include_recipe' /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/language_include_recipe.rb:27:ineach'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/language_include_recipe.rb:27:in include_recipe' /var/chef/cache/cookbooks/openerp/recipes/default.rb:20:infrom_file'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/cookbook_version.rb:578:in load_recipe' /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/language_include_recipe.rb:40:ininclude_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/language_include_recipe.rb:27:in each' /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/language_include_recipe.rb:27:ininclude_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/run_context.rb:72:in load' /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/run_context.rb:69:ineach'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/run_context.rb:69:in load' /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/client.rb:195:insetup_run_context'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/client.rb:159:in run' /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application/client.rb:239:inrun_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application/client.rb:229:in loop' /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application/client.rb:229:inrun_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application.rb:67:in run' /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/chef-client:26 /usr/bin/chef-client:19:inload'

Regards,
Arun.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.