diff options
author | PrajaktaPurohit <prajakta@opscode.com> | 2012-11-20 15:36:19 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@opscode.com> | 2012-12-19 15:54:40 -0800 |
commit | 1d6a226c4062c2c342919633aebe6110c878a06b (patch) | |
tree | a8aa4859e09640356c8a3c64f7a075bc932fca3c /lib/chef/resource/registry_key.rb | |
parent | b35a779cb9a96ecb43851d9f86b39f69d8818db5 (diff) | |
download | chef-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.rb | 4 |
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) |