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

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

Open
danielsdeleo opened this issue Oct 28, 2016 · 0 comments
Open

Comments

@danielsdeleo
Copy link
Contributor

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": {

      }
    },
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant