Mongodb-error


#1

Hi,

    When installing  mongodb cookbook  in ubuntu ,it shows  "No method error  undefined method  helpers for chef::resource::template

2014-09-26T10:45:34+01:00] INFO: Run List is [recipe[chef_handler], recipe[notification_handler], recipe[mongodb]]
[2014-09-26T10:45:34+01:00] INFO: Run List expands to [chef_handler, notification_handler, mongodb]
[2014-09-26T10:45:34+01:00] INFO: Starting Chef Run for 58720dc4-faad-4e64-b713-c4319ffbe78b
[2014-09-26T10:45:34+01:00] INFO: Running start handlers
[2014-09-26T10:45:34+01:00] INFO: Start handlers complete.
[2014-09-26T10:45:34+01:00] INFO: ChefHandler light-weight provider already initialized – overriding!
[2014-09-26T10:45:34+01:00] INFO: ChefHandler light-weight resource already initialized – overriding!
[2014-09-26T10:45:34+01:00] INFO: Chef Handlers will be at: /var/chef/handlers
[2014-09-26T10:45:34+01:00] INFO: Processing remote_directory[/var/chef/handlers] action create (chef_handler::default line 23)
[2014-09-26T10:45:34+01:00] INFO: remote_directory[/var/chef/handlers] created directory /var/chef/handlers
[2014-09-26T10:45:34+01:00] INFO: remote_directory[/var/chef/handlers] owner changed to 0
[2014-09-26T10:45:34+01:00] INFO: remote_directory[/var/chef/handlers] group changed to 0
[2014-09-26T10:45:34+01:00] INFO: remote_directory[/var/chef/handlers] mode changed to 755
[2014-09-26T10:45:34+01:00] INFO: Processing cookbook_file[/var/chef/handlers/README] action create (dynamically defined)
[2014-09-26T10:45:35+01:00] INFO: cookbook_file[/var/chef/handlers/README] mode changed to 644
[2014-09-26T10:45:35+01:00] INFO: cookbook_file[/var/chef/handlers/README] created file /var/chef/handlers/README
[2014-09-26T10:45:35+01:00] INFO: Processing directory[/var/chef/handlers] action create (notification_handler::default line 1)
[2014-09-26T10:45:35+01:00] INFO: Processing cookbook_file[/var/chef/handlers/notification_handler.rb] action create (notification_handler::default line 7)
[2014-09-26T10:45:35+01:00] INFO: cookbook_file[/var/chef/handlers/notification_handler.rb] mode changed to 755
[2014-09-26T10:45:35+01:00] INFO: cookbook_file[/var/chef/handlers/notification_handler.rb] created file /var/chef/handlers/notification_handler.rb
[2014-09-26T10:45:35+01:00] INFO: Processing chef_handler[Chef::Handler::NotificationHandler] action enable (notification_handler::default line 17)
[2014-09-26T10:45:35+01:00] INFO: Enabling chef_handler[Chef::Handler::NotificationHandler] as a report handler
[2014-09-26T10:45:35+01:00] INFO: Enabling chef_handler[Chef::Handler::NotificationHandler] as a exception handler
[2014-09-26T10:45:35+01:00] ERROR: Running exception handlers
[2014-09-26T10:45:35+01:00] ERROR: Exception handlers complete
[2014-09-26T10:45:35+01:00] FATAL: Stacktrace dumped to /var/chef-solo/cache/chef-stacktrace.out
[2014-09-26T10:45:35+01:00] FATAL: NoMethodError: undefined method `helpers’ for Chef::Resource::Template
~

Thanks & regards,
indra k 29,1 Bot


#2

Hi all,
This is my chef-stacktraceout,eventhough i ve comment a helpers line it shows a same error .I need to install mongodb cookbook in ubuntu or any other linux platform

 Generated at 2014-09-30 07:07:23 +0200

NoMethodError: undefined method helpers' for Chef::Resource::Template /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/resource.rb:282:inmethod_missing’
/var/chef-solo/cookbooks/mongodb/definitions/mongodb.rb:147:in block (2 levels) in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/dsl/recipe.rb:71:ininstance_eval’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/dsl/recipe.rb:71:in method_missing' /var/chef-solo/cookbooks/mongodb/definitions/mongodb.rb:139:inblock in from_file’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/dsl/recipe.rb:48:in instance_eval' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/dsl/recipe.rb:48:inmethod_missing’
/var/chef-solo/cookbooks/mongodb/recipes/default.rb:39:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/mixin/from_file.rb:30:ininstance_eval’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/mixin/from_file.rb:30:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/cookbook_version.rb:346:inload_recipe’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context.rb:151:in load_recipe' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context/cookbook_compiler.rb:139:inblock in compile_recipes’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context/cookbook_compiler.rb:137:in each' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context/cookbook_compiler.rb:137:incompile_recipes’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context/cookbook_compiler.rb:74:in compile' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context.rb:86:inload’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:224:in setup_run_context' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:467:indo_run’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:200:in run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:190:inrun_chef_client’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/solo.rb:239:in block in run_application' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/solo.rb:231:inloop’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/solo.rb:231:in run_application' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:73:inrun’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/bin/chef-solo:25:in <top (required)>' /usr/bin/chef-solo:23:inload’
/usr/bin/chef-solo:23:in `’

Thanks & regards, indra k


From: Indra k indra.k@cloudenablers.com
To: "chef@lists.opscode.com" chef@lists.opscode.com
Sent: Friday, 26 September 2014 4:48 PM
Subject: mongodb-error

Hi,

    When installing  mongodb cookbook  in ubuntu ,it shows  "No method error  undefined method  helpers for chef::resource::template

2014-09-26T10:45:34+01:00] INFO: Run List is [recipe[chef_handler], recipe[notification_handler], recipe[mongodb]]
[2014-09-26T10:45:34+01:00] INFO: Run List expands to [chef_handler, notification_handler, mongodb]
[2014-09-26T10:45:34+01:00] INFO: Starting Chef Run for 58720dc4-faad-4e64-b713-c4319ffbe78b
[2014-09-26T10:45:34+01:00] INFO: Running start handlers
[2014-09-26T10:45:34+01:00] INFO: Start handlers complete.
[2014-09-26T10:45:34+01:00] INFO: ChefHandler light-weight provider already initialized – overriding!
[2014-09-26T10:45:34+01:00] INFO: ChefHandler light-weight resource already initialized – overriding!
[2014-09-26T10:45:34+01:00] INFO: Chef Handlers will be at:
/var/chef/handlers
[2014-09-26T10:45:34+01:00] INFO: Processing remote_directory[/var/chef/handlers] action create (chef_handler::default line 23)
[2014-09-26T10:45:34+01:00] INFO: remote_directory[/var/chef/handlers] created directory /var/chef/handlers
[2014-09-26T10:45:34+01:00] INFO: remote_directory[/var/chef/handlers] owner changed to 0
[2014-09-26T10:45:34+01:00] INFO: remote_directory[/var/chef/handlers] group changed to 0
[2014-09-26T10:45:34+01:00] INFO: remote_directory[/var/chef/handlers] mode changed to 755
[2014-09-26T10:45:34+01:00] INFO: Processing cookbook_file[/var/chef/handlers/README] action create (dynamically defined)
[2014-09-26T10:45:35+01:00] INFO: cookbook_file[/var/chef/handlers/README] mode changed to 644
[2014-09-26T10:45:35+01:00] INFO:
cookbook_file[/var/chef/handlers/README] created file /var/chef/handlers/README
[2014-09-26T10:45:35+01:00] INFO: Processing directory[/var/chef/handlers] action create (notification_handler::default line 1)
[2014-09-26T10:45:35+01:00] INFO: Processing cookbook_file[/var/chef/handlers/notification_handler.rb] action create (notification_handler::default line 7)
[2014-09-26T10:45:35+01:00] INFO: cookbook_file[/var/chef/handlers/notification_handler.rb] mode changed to 755
[2014-09-26T10:45:35+01:00] INFO: cookbook_file[/var/chef/handlers/notification_handler.rb] created file /var/chef/handlers/notification_handler.rb
[2014-09-26T10:45:35+01:00] INFO: Processing chef_handler[Chef::Handler::NotificationHandler] action enable (notification_handler::default line 17)
[2014-09-26T10:45:35+01:00] INFO: Enabling
chef_handler[Chef::Handler::NotificationHandler] as a report handler
[2014-09-26T10:45:35+01:00] INFO: Enabling chef_handler[Chef::Handler::NotificationHandler] as a exception handler
[2014-09-26T10:45:35+01:00] ERROR: Running exception handlers
[2014-09-26T10:45:35+01:00] ERROR: Exception handlers complete
[2014-09-26T10:45:35+01:00] FATAL: Stacktrace dumped to /var/chef-solo/cache/chef-stacktrace.out
[2014-09-26T10:45:35+01:00] FATAL: NoMethodError: undefined method `helpers’ for Chef::Resource::Template
~

Thanks & regards,
indra k 29,1 Bot


#3

Hit this sucka with the incredible ban-hammer

–fujin

On Tue, Sep 30, 2014 at 8:32 PM, Indra k indra.k@cloudenablers.com wrote:

Hi all,
This is my chef-stacktraceout,eventhough i ve comment a helpers line
it shows a same error .I need to install mongodb cookbook in ubuntu or any
other linux platform

 Generated at 2014-09-30 07:07:23 +0200

NoMethodError: undefined method helpers' for Chef::Resource::Template /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/resource.rb:282:inmethod_missing’
/var/chef-solo/cookbooks/mongodb/definitions/mongodb.rb:147:in block (2 levels) in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/dsl/recipe.rb:71:ininstance_eval’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/dsl/recipe.rb:71:in
method_missing' /var/chef-solo/cookbooks/mongodb/definitions/mongodb.rb:139:inblock in
from_file’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/dsl/recipe.rb:48:in
instance_eval' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/dsl/recipe.rb:48:inmethod_missing’
/var/chef-solo/cookbooks/mongodb/recipes/default.rb:39:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/mixin/from_file.rb:30:ininstance_eval’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/mixin/from_file.rb:30:in
from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/cookbook_version.rb:346:inload_recipe’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context.rb:151:in
load_recipe' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context/cookbook_compiler.rb:139:inblock in compile_recipes’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context/cookbook_compiler.rb:137:in
each' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context/cookbook_compiler.rb:137:incompile_recipes’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context/cookbook_compiler.rb:74:in
compile' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context.rb:86:inload’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:224:in
setup_run_context' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:467:indo_run’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:200:in
run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:190:inrun_chef_client’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/solo.rb:239:in
block in run_application' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/solo.rb:231:inloop’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/solo.rb:231:in
run_application' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:73:inrun’
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/bin/chef-solo:25:in
<top (required)>' /usr/bin/chef-solo:23:inload’
/usr/bin/chef-solo:23:in `’

Thanks & regards,
indra k


From: Indra k indra.k@cloudenablers.com
To: "chef@lists.opscode.com" chef@lists.opscode.com
Sent: Friday, 26 September 2014 4:48 PM
Subject: mongodb-error

Hi,

    When installing  mongodb cookbook  in ubuntu ,it shows  "No method

error undefined method helpers for chef::resource::template

2014-09-26T10:45:34+01:00] INFO: Run List is [recipe[chef_handler],
recipe[notification_handler], recipe[mongodb]]
[2014-09-26T10:45:34+01:00] INFO: Run List expands to [chef_handler,
notification_handler, mongodb]
[2014-09-26T10:45:34+01:00] INFO: Starting Chef Run for
58720dc4-faad-4e64-b713-c4319ffbe78b
[2014-09-26T10:45:34+01:00] INFO: Running start handlers
[2014-09-26T10:45:34+01:00] INFO: Start handlers complete.
[2014-09-26T10:45:34+01:00] INFO: ChefHandler light-weight provider already
initialized – overriding!
[2014-09-26T10:45:34+01:00] INFO: ChefHandler light-weight resource already
initialized – overriding!
[2014-09-26T10:45:34+01:00] INFO: Chef Handlers will be at:
/var/chef/handlers
[2014-09-26T10:45:34+01:00] INFO: Processing
remote_directory[/var/chef/handlers] action create (chef_handler::default
line 23)
[2014-09-26T10:45:34+01:00] INFO: remote_directory[/var/chef/handlers]
created directory /var/chef/handlers
[2014-09-26T10:45:34+01:00] INFO: remote_directory[/var/chef/handlers] owner
changed to 0
[2014-09-26T10:45:34+01:00] INFO: remote_directory[/var/chef/handlers] group
changed to 0
[2014-09-26T10:45:34+01:00] INFO: remote_directory[/var/chef/handlers] mode
changed to 755
[2014-09-26T10:45:34+01:00] INFO: Processing
cookbook_file[/var/chef/handlers/README] action create (dynamically defined)
[2014-09-26T10:45:35+01:00] INFO: cookbook_file[/var/chef/handlers/README]
mode changed to 644
[2014-09-26T10:45:35+01:00] INFO: cookbook_file[/var/chef/handlers/README]
created file /var/chef/handlers/README
[2014-09-26T10:45:35+01:00] INFO: Processing directory[/var/chef/handlers]
action create (notification_handler::default line 1)
[2014-09-26T10:45:35+01:00] INFO: Processing
cookbook_file[/var/chef/handlers/notification_handler.rb] action create
(notification_handler::default line 7)
[2014-09-26T10:45:35+01:00] INFO:
cookbook_file[/var/chef/handlers/notification_handler.rb] mode changed to
755
[2014-09-26T10:45:35+01:00] INFO:
cookbook_file[/var/chef/handlers/notification_handler.rb] created file
/var/chef/handlers/notification_handler.rb
[2014-09-26T10:45:35+01:00] INFO: Processing
chef_handler[Chef::Handler::NotificationHandler] action enable
(notification_handler::default line 17)
[2014-09-26T10:45:35+01:00] INFO: Enabling
chef_handler[Chef::Handler::NotificationHandler] as a report handler
[2014-09-26T10:45:35+01:00] INFO: Enabling
chef_handler[Chef::Handler::NotificationHandler] as a exception handler
[2014-09-26T10:45:35+01:00] ERROR: Running exception handlers
[2014-09-26T10:45:35+01:00] ERROR: Exception handlers complete
[2014-09-26T10:45:35+01:00] FATAL: Stacktrace dumped to
/var/chef-solo/cache/chef-stacktrace.out
[2014-09-26T10:45:35+01:00] FATAL: NoMethodError: undefined method `helpers’
for Chef::Resource::Template
~

Thanks & regards,
indra k
29,1 Bot


#4

Indra,

I think you may need to update Chef to get the helpers you seek. The
Release Notes for 11.6 (
http://docs.getchef.com/release/11-6/release_notes.html) show the
introduction of helpers but it looks like you’re running 11.4.4. You might
try again after upgrading Chef.

AJ,

I may be missing something here but I’m really not sure why we’d ban
Indra. He asked a question, received no response, 4 days later he came
back with more detailed output again asking for assistance. Seems
reasonable enough to me. "Hit this sucka with the incredible ban-hammer"
is insulting and is not language we’d like to see on the mailing list.

The best way to suggest a ban is privately to the Community Advocates for
the mailing list. Since we don’t have anyone who’s been placed into that
role yet, you can report incidents that require action directly to me as
the Ombudsperson.

Thanks,
Nathen
@nathenharvey

On Tue, Sep 30, 2014 at 1:07 AM, AJ Christensen <aj@junglistheavy.industries

wrote:

Hit this sucka with the incredible ban-hammer

–fujin

On Tue, Sep 30, 2014 at 8:32 PM, Indra k indra.k@cloudenablers.com
wrote:

Hi all,
This is my chef-stacktraceout,eventhough i ve comment a helpers
line
it shows a same error .I need to install mongodb cookbook in ubuntu or
any
other linux platform

 Generated at 2014-09-30 07:07:23 +0200

NoMethodError: undefined method `helpers’ for Chef::Resource::Template

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/resource.rb:282:in

method_missing' /var/chef-solo/cookbooks/mongodb/definitions/mongodb.rb:147:inblock (2
levels) in from_file’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/dsl/recipe.rb:71:in

`instance_eval’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/dsl/recipe.rb:71:in

method_missing' /var/chef-solo/cookbooks/mongodb/definitions/mongodb.rb:139:inblock in
from_file’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/dsl/recipe.rb:48:in

`instance_eval’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/dsl/recipe.rb:48:in

method_missing' /var/chef-solo/cookbooks/mongodb/recipes/default.rb:39:infrom_file’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/mixin/from_file.rb:30:in

`instance_eval’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/mixin/from_file.rb:30:in

`from_file’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/cookbook_version.rb:346:in

`load_recipe’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context.rb:151:in

`load_recipe’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context/cookbook_compiler.rb:139:in

`block in compile_recipes’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context/cookbook_compiler.rb:137:in

`each’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context/cookbook_compiler.rb:137:in

`compile_recipes’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context/cookbook_compiler.rb:74:in

`compile’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context.rb:86:in

`load’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:224:in

`setup_run_context’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:467:in

`do_run’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:200:in

`run’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:190:in

`run_chef_client’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/solo.rb:239:in

`block in run_application’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/solo.rb:231:in

`loop’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/solo.rb:231:in

`run_application’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:73:in

`run’

/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/bin/chef-solo:25:in

<top (required)>' /usr/bin/chef-solo:23:inload’
/usr/bin/chef-solo:23:in `’

Thanks & regards,
indra k


From: Indra k indra.k@cloudenablers.com
To: "chef@lists.opscode.com" chef@lists.opscode.com
Sent: Friday, 26 September 2014 4:48 PM
Subject: mongodb-error

Hi,

    When installing  mongodb cookbook  in ubuntu ,it shows  "No

method

error undefined method helpers for chef::resource::template

2014-09-26T10:45:34+01:00] INFO: Run List is [recipe[chef_handler],
recipe[notification_handler], recipe[mongodb]]
[2014-09-26T10:45:34+01:00] INFO: Run List expands to [chef_handler,
notification_handler, mongodb]
[2014-09-26T10:45:34+01:00] INFO: Starting Chef Run for
58720dc4-faad-4e64-b713-c4319ffbe78b
[2014-09-26T10:45:34+01:00] INFO: Running start handlers
[2014-09-26T10:45:34+01:00] INFO: Start handlers complete.
[2014-09-26T10:45:34+01:00] INFO: ChefHandler light-weight provider
already
initialized – overriding!
[2014-09-26T10:45:34+01:00] INFO: ChefHandler light-weight resource
already
initialized – overriding!
[2014-09-26T10:45:34+01:00] INFO: Chef Handlers will be at:
/var/chef/handlers
[2014-09-26T10:45:34+01:00] INFO: Processing
remote_directory[/var/chef/handlers] action create (chef_handler::default
line 23)
[2014-09-26T10:45:34+01:00] INFO: remote_directory[/var/chef/handlers]
created directory /var/chef/handlers
[2014-09-26T10:45:34+01:00] INFO: remote_directory[/var/chef/handlers]
owner
changed to 0
[2014-09-26T10:45:34+01:00] INFO: remote_directory[/var/chef/handlers]
group
changed to 0
[2014-09-26T10:45:34+01:00] INFO: remote_directory[/var/chef/handlers]
mode
changed to 755
[2014-09-26T10:45:34+01:00] INFO: Processing
cookbook_file[/var/chef/handlers/README] action create (dynamically
defined)
[2014-09-26T10:45:35+01:00] INFO:
cookbook_file[/var/chef/handlers/README]
mode changed to 644
[2014-09-26T10:45:35+01:00] INFO:
cookbook_file[/var/chef/handlers/README]
created file /var/chef/handlers/README
[2014-09-26T10:45:35+01:00] INFO: Processing
directory[/var/chef/handlers]
action create (notification_handler::default line 1)
[2014-09-26T10:45:35+01:00] INFO: Processing
cookbook_file[/var/chef/handlers/notification_handler.rb] action create
(notification_handler::default line 7)
[2014-09-26T10:45:35+01:00] INFO:
cookbook_file[/var/chef/handlers/notification_handler.rb] mode changed to
755
[2014-09-26T10:45:35+01:00] INFO:
cookbook_file[/var/chef/handlers/notification_handler.rb] created file
/var/chef/handlers/notification_handler.rb
[2014-09-26T10:45:35+01:00] INFO: Processing
chef_handler[Chef::Handler::NotificationHandler] action enable
(notification_handler::default line 17)
[2014-09-26T10:45:35+01:00] INFO: Enabling
chef_handler[Chef::Handler::NotificationHandler] as a report handler
[2014-09-26T10:45:35+01:00] INFO: Enabling
chef_handler[Chef::Handler::NotificationHandler] as a exception handler
[2014-09-26T10:45:35+01:00] ERROR: Running exception handlers
[2014-09-26T10:45:35+01:00] ERROR: Exception handlers complete
[2014-09-26T10:45:35+01:00] FATAL: Stacktrace dumped to
/var/chef-solo/cache/chef-stacktrace.out
[2014-09-26T10:45:35+01:00] FATAL: NoMethodError: undefined method
`helpers’
for Chef::Resource::Template
~

Thanks & regards,
indra k
29,1 Bot