    # File lib/chef/knife/cookbook_download.rb, line 107
          def available_versions
            @available_versions ||= begin
              versions = Chef::CookbookVersion.available_versions(@cookbook_name).map do |version|
                Chef::Version.new(version)
              end
              versions.sort!
              versions
            end
            @available_versions
          end