Errno::ELOOP: Too many levels of symbolic links - "bash"

your actual /etc/resolv.conf file is most likely an endless loop of symlinks.

at any rate ELOOP is pretty unlikely to be a chef bug and you need to track down the file on the filesystem which has the infinite symlink loop and fix it and/or determine how it got created…