summaryrefslogtreecommitdiff
path: root/lib/chef/platform/query_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/platform/query_helpers.rb')
-rw-r--r--lib/chef/platform/query_helpers.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/chef/platform/query_helpers.rb b/lib/chef/platform/query_helpers.rb
index 7a92fd3300..fd9c2803bb 100644
--- a/lib/chef/platform/query_helpers.rb
+++ b/lib/chef/platform/query_helpers.rb
@@ -18,7 +18,6 @@
class Chef
class Platform
-
class << self
def windows?
ChefConfig.windows?
@@ -99,7 +98,6 @@ class Chef
metadata = cmdlet.run!.return_value
metadata["RefreshMode"] == "Disabled"
end
-
def supported_powershell_version?(node, version_string)
return false unless node[:languages] && node[:languages][:powershell]
@@ -107,7 +105,6 @@ class Chef
Gem::Version.new(node[:languages][:powershell][:version]) >=
Gem::Version.new(version_string)
end
-
end
end
end