[chef] mongodb-error


Chronological Thread 
  • From: Indra k < >
  • To: " " < >
  • Subject: [chef] mongodb-error
  • Date: Fri, 26 Sep 2014 19:18:38 +0800

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




Archive powered by MHonArc 2.6.16.

§