From 6e6a79e2c09d82cfe1878256a19001727a2c2387 Mon Sep 17 00:00:00 2001 From: Jordan Evans Date: Mon, 4 Aug 2014 16:06:38 -0700 Subject: update comment for value_for_platform --- lib/chef/dsl/platform_introspection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chef/dsl/platform_introspection.rb b/lib/chef/dsl/platform_introspection.rb index e4ee75b4c8..2e22662ca2 100644 --- a/lib/chef/dsl/platform_introspection.rb +++ b/lib/chef/dsl/platform_introspection.rb @@ -50,7 +50,7 @@ class Chef def value_for_node(node) platform, version = node[:platform].to_s, node[:platform_version].to_s - # Check if we match a version constraint via Gem::Requirement and Gem::Version + # Check if we match a version constraint via Chef::VersionConstraint and Chef::Version::Platform matched_value = match_versions(node) if @values.key?(platform) && @values[platform].key?(version) @values[platform][version] -- cgit v1.2.1