Skip to content
This repository was archived by the owner on May 10, 2018. It is now read-only.

Chef Server /universe example return values are incorrect/misleading #837

@danielsdeleo

Description

@danielsdeleo

The example response for the universe endpoint shows response data like this:

{
  "ffmpeg": {
    "0.1.0": {
      "location_path": "http://supermarket.chef.io/api/v1/cookbooks/ffmpeg/0.1.0/download"
      "location_type": "supermarket",
      "dependencies": {
        "git": ">= 0.0.0",
        "build-essential": ">= 0.0.0",
        "libvpx": "~> 0.1.1",
        "x264": "~> 0.1.1"
      },
    },

In particular, "location_path": "http://supermarket.chef.io/api/v1/cookbooks/ffmpeg/0.1.0/download" and "location_type": "supermarket" are incorrect. Instead those things will look something like this (I got this from knife raw using my own hosted chef account:

  "apache2": {
    "1.2.0": {
      "location_path": "https://api.opscode.com/organizations/chef-oss-dev/cookbooks/apache2/1.2.0",
      "location_type": "chef_server",
      "dependencies": {

      }
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions