summaryrefslogtreecommitdiff
path: root/lib/chef/resource/registry_key.rb
diff options
context:
space:
mode:
authorPrajaktaPurohit <prajakta@opscode.com>2012-11-20 15:36:19 -0800
committerLamont Granquist <lamont@opscode.com>2012-12-19 15:54:40 -0800
commit1d6a226c4062c2c342919633aebe6110c878a06b (patch)
treea8aa4859e09640356c8a3c64f7a075bc932fca3c /lib/chef/resource/registry_key.rb
parentb35a779cb9a96ecb43851d9f86b39f69d8818db5 (diff)
downloadchef-1d6a226c4062c2c342919633aebe6110c878a06b.tar.gz
Setting up the resource and providers
Diffstat (limited to 'lib/chef/resource/registry_key.rb')
-rw-r--r--lib/chef/resource/registry_key.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/registry_key.rb b/lib/chef/resource/registry_key.rb
index 9ba84082d7..7d6080c65a 100644
--- a/lib/chef/resource/registry_key.rb
+++ b/lib/chef/resource/registry_key.rb
@@ -36,7 +36,7 @@ class Chef
@recursive = true
@key_name = name
@allowed_actions.push(:create, :create_if_missing, :delete, :delete_key)
- #@provider = Chef::Provider::RegistryKey
+ @provider = Chef::Provider::RegistryKey
end
def key(arg=nil)
@@ -58,7 +58,7 @@ class Chef
set_or_return(
:recursive,
arg,
- :kind_of => Boolean,
+ :kind_of => [TrueClass, FalseClass]
)
end
def architecture(arg=nil)