    # File lib/chef/provider/package/smartos.rb, line 38
            def load_current_resource
                                            Chef::Log.debug("#{@new_resource} loading current resource")
                                            @current_resource = Chef::Resource::Package.new(@new_resource.name)
                                            @current_resource.package_name(@new_resource.package_name)
                                            @current_resource.version(nil)
              check_package_state(@new_resource.package_name)
                                            @current_resource # modified by check_package_state
                                    end