summaryrefslogtreecommitdiff
path: root/features/data
diff options
context:
space:
mode:
authorsdelano <stephen@opscode.com>2011-02-11 12:05:10 -0800
committerSeth Falcon <seth@opscode.com>2011-02-13 23:32:53 -0800
commitaefd31a4dfc9d7767223ec18ed05dc63632cf765 (patch)
treeb793e23fc3b8ecae69b7e86b3ae3d1c6209199d1 /features/data
parent222788e848f7f47bf45734054c76b2c234b2260c (diff)
downloadchef-aefd31a4dfc9d7767223ec18ed05dc63632cf765.tar.gz
api: /cookbooks/:id, /environments/:id/cookbooks/:id
* return same json format as /:cookbooks * factor out version formatting into helper * feature tests
Diffstat (limited to 'features/data')
-rw-r--r--features/data/cookbooks/synchronize_deps/metadata.json34
-rw-r--r--features/data/cookbooks/transfer_remote_files/metadata.json34
2 files changed, 32 insertions, 36 deletions
diff --git a/features/data/cookbooks/synchronize_deps/metadata.json b/features/data/cookbooks/synchronize_deps/metadata.json
index 06ebbcdd02..925a92ae34 100644
--- a/features/data/cookbooks/synchronize_deps/metadata.json
+++ b/features/data/cookbooks/synchronize_deps/metadata.json
@@ -1,32 +1,30 @@
{
- "name": "synchronize_deps",
- "description": "A fabulous new cookbook",
- "long_description": "",
+ "recipes": {
+ },
"maintainer": "Your Name",
- "maintainer_email": "youremail@example.com",
+ "replacing": {
+ },
"license": "Apache v2.0",
- "platforms": {
+ "maintainer_email": "youremail@example.com",
+ "groupings": {
},
- "dependencies": {
- "synchronize": [
-
- ]
+ "platforms": {
},
"recommendations": {
},
+ "long_description": "",
+ "description": "A fabulous new cookbook",
"suggestions": {
},
- "conflicting": {
- },
- "providing": {
- },
- "replacing": {
- },
"attributes": {
},
- "groupings": {
+ "conflicting": {
},
- "recipes": {
+ "name": "synchronize_deps",
+ "version": "0.0.0",
+ "dependencies": {
+ "synchronize": ">= 0.0.0"
},
- "version": "0.0.0"
+ "providing": {
+ }
} \ No newline at end of file
diff --git a/features/data/cookbooks/transfer_remote_files/metadata.json b/features/data/cookbooks/transfer_remote_files/metadata.json
index 1ecd8f893e..ac1a7222e9 100644
--- a/features/data/cookbooks/transfer_remote_files/metadata.json
+++ b/features/data/cookbooks/transfer_remote_files/metadata.json
@@ -1,32 +1,30 @@
{
- "name": "transfer_remote_files",
- "description": "A fabulous new cookbook",
- "long_description": "",
+ "recipes": {
+ },
"maintainer": "Your Name",
- "maintainer_email": "youremail@example.com",
+ "replacing": {
+ },
"license": "Apache v2.0",
- "platforms": {
+ "maintainer_email": "youremail@example.com",
+ "groupings": {
},
- "dependencies": {
- "transfer_remote_files_definition": [
-
- ]
+ "platforms": {
},
"recommendations": {
},
+ "long_description": "",
+ "description": "A fabulous new cookbook",
"suggestions": {
},
- "conflicting": {
- },
- "providing": {
- },
- "replacing": {
- },
"attributes": {
},
- "groupings": {
+ "conflicting": {
},
- "recipes": {
+ "name": "transfer_remote_files",
+ "version": "0.0.0",
+ "dependencies": {
+ "transfer_remote_files_definition": ">= 0.0.0"
},
- "version": "0.0.0"
+ "providing": {
+ }
} \ No newline at end of file