You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. is this the right repo for the chef-mongodb cookbook that's on the chef supermarket? it doesn't have the "view source" button, so I have no idea.
I'm using chef 11.12.2, which installed ruby 1.9.3p484
I think the problem lies with a default argument in the user.rb file, I know little about ruby, but if it's anything like other languages I know, default arguments have to be the last argument in the method.
Anyway, I get the following when attempting to do a berks install. I'm snipping a lot of stuff.
01:20:27.388 [QUIET] [system.out] Skipping maven (1.2.0) (frozen)
01:20:27.831 [ERROR] [system.err] There was an error connecting to the Chef Server
01:20:27.913 [QUIET] [system.out] E, [2014-11-13T01:20:27.822237 #32500] ERROR -- : Cookbook file providers/user.rb has a ruby syntax error:
01:20:27.913 [QUIET] [system.out] E, [2014-11-13T01:20:27.822513 #32500] ERROR -- : /var/lib/jenkins/.berkshelf/cookbooks/mongodb-0.16.2/providers/user.rb:5: syntax error, unexpected ')', expecting '='
01:20:27.913 [QUIET] [system.out] E, [2014-11-13T01:20:27.822653 #32500] ERROR -- : /var/lib/jenkins/.berkshelf/cookbooks/mongodb-0.16.2/providers/user.rb:36: syntax error, unexpected kEND, expecting $end
01:20:27.913 [QUIET] [system.out] E, [2014-11-13T01:20:27.824946 #32500] ERROR -- : Ridley::Errors::CookbookSyntaxError: Invalid ruby files in cookbook: mongodb (0.16.2).
01:20:27.913 [QUIET] [system.out] E, [2014-11-13T01:20:27.828664 #32500] ERROR -- :
The text was updated successfully, but these errors were encountered:
Hi. is this the right repo for the chef-mongodb cookbook that's on the chef supermarket? it doesn't have the "view source" button, so I have no idea.
I'm using chef 11.12.2, which installed ruby 1.9.3p484
I think the problem lies with a default argument in the user.rb file, I know little about ruby, but if it's anything like other languages I know, default arguments have to be the last argument in the method.
Anyway, I get the following when attempting to do a berks install. I'm snipping a lot of stuff.
01:20:27.388 [QUIET] [system.out] Skipping maven (1.2.0) (frozen)
01:20:27.831 [ERROR] [system.err] There was an error connecting to the Chef Server
01:20:27.913 [QUIET] [system.out] E, [2014-11-13T01:20:27.822237 #32500] ERROR -- : Cookbook file providers/user.rb has a ruby syntax error:
01:20:27.913 [QUIET] [system.out] E, [2014-11-13T01:20:27.822513 #32500] ERROR -- : /var/lib/jenkins/.berkshelf/cookbooks/mongodb-0.16.2/providers/user.rb:5: syntax error, unexpected ')', expecting '='
01:20:27.913 [QUIET] [system.out] E, [2014-11-13T01:20:27.822653 #32500] ERROR -- : /var/lib/jenkins/.berkshelf/cookbooks/mongodb-0.16.2/providers/user.rb:36: syntax error, unexpected kEND, expecting $end
01:20:27.913 [QUIET] [system.out] E, [2014-11-13T01:20:27.824946 #32500] ERROR -- : Ridley::Errors::CookbookSyntaxError: Invalid ruby files in cookbook: mongodb (0.16.2).
01:20:27.913 [QUIET] [system.out] E, [2014-11-13T01:20:27.828664 #32500] ERROR -- :
The text was updated successfully, but these errors were encountered: