diff options
author | Xabier de Zuazo <xabier@onddo.com> | 2013-03-04 15:05:54 +0100 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2013-04-11 13:04:33 -0700 |
commit | 38becdf97cdbd060027776a551aad333fbddcd5a (patch) | |
tree | 1e193e818ca257424f1ab849e3862662bb6fc27a /lib/chef/platform.rb | |
parent | 8c1e41b93b119855e2e723cf35f9ca72d06a76f4 (diff) | |
download | chef-38becdf97cdbd060027776a551aad333fbddcd5a.tar.gz |
[CHEF-3919] cookbook version specific code factored out from Chef::Version, new classes created: Chef::Version::Cookbook and Chef::VersionConstraint::Cookbook
Diffstat (limited to 'lib/chef/platform.rb')
-rw-r--r-- | lib/chef/platform.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/platform.rb b/lib/chef/platform.rb index 4c407673e2..bca003d35a 100644 --- a/lib/chef/platform.rb +++ b/lib/chef/platform.rb @@ -345,7 +345,7 @@ class Chef end platform_versions.each do |platform_version, provider| begin - version_constraint = Chef::VersionConstraint.new(platform_version) + version_constraint = Chef::VersionConstraint::Cookbook.new(platform_version) if version_constraint.include?(version) Chef::Log.debug("Platform #{name.to_s} version #{version} found") provider_map.merge!(provider) |