summaryrefslogtreecommitdiff
path: root/lib/chef/dsl
diff options
context:
space:
mode:
authorJordan Evans <jordane@osuosl.org>2014-08-04 16:06:38 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-08-21 12:37:11 -0700
commit6e6a79e2c09d82cfe1878256a19001727a2c2387 (patch)
tree15d7ee41b038767749e39f769c9b9073aa447352 /lib/chef/dsl
parenteb72c7f0cdb6a95d2cf9674ef81087583a96434b (diff)
downloadchef-6e6a79e2c09d82cfe1878256a19001727a2c2387.tar.gz
update comment for value_for_platform
Diffstat (limited to 'lib/chef/dsl')
-rw-r--r--lib/chef/dsl/platform_introspection.rb2
1 files changed, 1 insertions, 1 deletions
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]