[chef] Re: Checking the registry in a resourcre


Chronological Thread 
  • From: Brandon Raabe < >
  • To:
  • Subject: [chef] Re: Checking the registry in a resourcre
  • Date: Wed, 28 Jan 2015 09:15:02 -0700

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 < " target="_blank"> > 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




Archive powered by MHonArc 2.6.16.

§