mburns / chef-openerp-cookbook Goto Github PK
View Code? Open in Web Editor NEWChef cookbook for OpenERP
Chef cookbook for OpenERP
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:in
method_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:in
load_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:in
each'
/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:in
from_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:in
include_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:in
include_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:in
each'
/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:in
setup_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:in
run_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:in
run_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:in
load'
Regards,
Arun.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.