diff options
Diffstat (limited to 'lib/chef/provider/package/solaris.rb')
-rw-r--r-- | lib/chef/provider/package/solaris.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/chef/provider/package/solaris.rb b/lib/chef/provider/package/solaris.rb index c0d2beec36..55a34b44dd 100644 --- a/lib/chef/provider/package/solaris.rb +++ b/lib/chef/provider/package/solaris.rb @@ -51,7 +51,6 @@ class Chef def load_current_resource @current_resource = Chef::Resource::Package.new(@new_resource.name) @current_resource.package_name(@new_resource.package_name) - @new_resource.version(nil) if @new_resource.source @package_source_found = ::File.exists?(@new_resource.source) @@ -80,10 +79,6 @@ class Chef raise Chef::Exceptions::Package, "pkginfo failed - #{status.inspect}!" end - unless @current_resource.version.nil? - @current_resource.version(nil) - end - @current_resource end |