[chef] Need default attribute list of a cookbook using api


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Need default attribute list of a cookbook using api
  • Date: Thu, 5 Sep 2013 00:19:44 -0700 (PDT)


Hi, 

Is there a way to get the default cookbook attributes using chef-api . So that
i can override them pragmatically later on . 

I used knife to fetch cookbook  metadata in json format , but that only list
the attribute file.

  "attributes": [
    {
      "name": "default.rb",
      "path": "attributes/default.rb",
      "checksum": "f9cc6b7d7075cf91e012e00e0f4ff796",
      "specificity": "default",
      "url": "https://---D";
    }

thanks 
jagadeesh



Archive powered by MHonArc 2.6.16.

§