Update mongodb_instance definition to work with chef 11.