Created
March 16, 2010 12:01
-
-
Save redivy/333873 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- lib/chef/provider/package/zypper.rb 2010-03-16 14:52:15.000000000 +0300 | |
+++ lib/chef/provider/package/zypper.rb 2010-03-16 14:54:30.000000000 +0300 | |
@@ -79,6 +79,9 @@ | |
raise Chef::Exceptions::Package, "zypper failed - #{status.inspect}!" | |
end | |
+ if @candidate_version == '' | |
+ raise Chef::Exceptions::Package, "zypper does not have a version of package #{@new_resource.package_name}" | |
+ end | |
Chef::Log.debug("zypper current resource #{@current_resource}") | |
@current_resource |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment