opscode/chef — pull request #227 by jakedouglas (2012-01-31 23:40:26+00:00)
Title: Fix remote_directory to remove symlinked directories correctly with the purge option

Currently chef tries to purge symlinked directories using Dir::rmdir which explodes because the symlink is not a directory. This fixes it.