opscode/chef — pull request #734 by danielsdeleo (2013-04-23 21:34:15+00:00)
Title: [CHEF-4117] fix resource attempting to remove constants it doesn't have

Module.const_defined?() needs to be given an optional second argument to
disable constant lookups on ancestor classes. Otherwise LWRP creation
may attempt to remove a constant that does not exist.