Open TonyCerrit opened 10 years ago
it should be the node object (as in the current node's configuration). It should probably be expanded to the explicitly required configuration rather than trying to pass the chef-node object.
otherwise, it is 'correct' in the recipe.
line 32 doesn't look right. It is currently
replicaset node
when I think it should bereplicaset node['mongodb']['config']['replset']
. Just looking for some confirmation that is correct syntax. It came to my attention when trying to set up a replica set and search seems to fail with error beingundefined method
[]' for nil:NilClass` as line 208 is refrencing new_resource.replicaset = params[:replicaset]. -Thanks