summaryrefslogtreecommitdiff
path: root/lib/chef/win32/registry.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/win32/registry.rb')
-rw-r--r--lib/chef/win32/registry.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/chef/win32/registry.rb b/lib/chef/win32/registry.rb
index 12ad08a965..3c1f62d9b8 100644
--- a/lib/chef/win32/registry.rb
+++ b/lib/chef/win32/registry.rb
@@ -256,19 +256,6 @@ class Chef
end
end
- def get_type_from_name(val_type)
- value = {
- :binary => ::Win32::Registry::REG_BINARY,
- :string => ::Win32::Registry::REG_SZ,
- :multi_string => ::Win32::Registry::REG_MULTI_SZ,
- :expand_string => ::Win32::Registry::REG_EXPAND_SZ,
- :dword => ::Win32::Registry::REG_DWORD,
- :dword_big_endian => ::Win32::Registry::REG_DWORD_BIG_ENDIAN,
- :qword => ::Win32::Registry::REG_QWORD
- }[val_type]
- return value
- end
-
def keys_missing?(key_path)
missing_key_arr = key_path.split("\\")
missing_key_arr.pop