lib/chef/provider/package.rb
# Returns array of all packages which are missing candidate versions.
#
# @return [Array<String>] names of packages missing candidates
Returns array of all packages which are missing candidate versions.
Returns array of all packages which are missing candidate versions .
def packages_missing_candidates
        @packages_missing_candidates ||=
          begin
            missing = []
            each_package do |package_name, new_version, current_version, candidate_version, magic_version|
              missing.push(package_name) if magic_version.nil? && candidate_version.nil?
            end
            missing
          end
      end
def packages_missing_candidates @packages_missing_candidates ||= begin missing = [ ] each_package do | package_name , new_version , current_version , candidate_version , magic_version | missing . push ( package_name ) if magic_version . nil? && candidate_version . nil? end missing end end
Returns array of all packages which are missing candidate versions.
Returns array of all packages which are missing candidate versions .
names of packages missing candidates
names of packages missing candidates
Array<String>