I think Chef was converging `node['mongodb']['config']` when it was being assigned to `new_resource.config`, and then when the attributes were further updated, that was not reflected in the values in `new_resource.config`. So yes, this is pulling the block up from below so that everything is in place when `new_resource.config` is set.