Checking the registry in a resourcre

In a recipe I can use registry_value_exists? to see if a registry value
exists, but when I try to use the same method in a resource provider I get
a NoMethodError. How do I check if a registry value exists from within a
provider?

-Dwayne

In your provider class, you should be able to 'include
Chef::DSL::RegistryHelper' to gain access to those same methods within your
provider.

On Wed, Jan 28, 2015 at 8:59 AM, Dwayne Forehand dwayne@4handsclapping.com
wrote:

In a recipe I can use registry_value_exists? to see if a registry value
exists, but when I try to use the same method in a resource provider I get
a NoMethodError. How do I check if a registry value exists from within a
provider?

-Dwayne