forked from teohm/appbox-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmetadata.json
38 lines (38 loc) · 3.53 KB
/
metadata.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "appbox",
"description": "Provides a set of recipes to setup a base app server",
"long_description": "# Chef cookbook - appbox (v0.1.1)\n\nProvides a set of recipes to setup a **base app server**:\n\n * create users and groups\n * setup base directory to store apps\n * install common sysadmin tools\n\n## Install\n\nTo install with **Berkshelf**, add this into `Berksfile`:\n\n```\ncookbook 'appbox'\n```\n\n## Usage\n\nTo setup a base app server, \n\nAdd `appbox::default` recipe into run list, or include the recipe in your code:\n\n```\ninclude_recipe \"appbox::default\"\n```\n\nAnd override attributes to customize the cookbook.\n\nSee also [teohm/kitchen-sample](https://github.com/teohm/kitchen-example) for `appbox` usage example with chef-solo.\n\n## Attributes\n\nYou **should** set these attributes:\n\n * `node[\"appbox\"][\"admin_keys\"]` (default: `[]`) - a list of authorized SSH public keys for admin user.\n * `node[\"appbox\"][\"deploy_keys\"]` (defaults: `[]`) - a list of authorized SSH public keys for deploy user.\n\nYou may customize these attributes:\n\n * `node[\"appbox\"][\"admin_user\"]` (default: `\"devops\"`) - admin account, to perform sysadmin tasks (login with SSH key, passwordless sudo, member of apps group). \n * `node[\"appbox\"][\"deploy_user\"]` (default: `\"deploy\"`) - deploy account, to deploy apps (login with SSH key, passwordless sudo, member of apps group).\n * `node[\"appbox\"][\"apps_user\"]` (default: `\"apps\"`) - apps account, to run apps (no login, not sudoer, member of apps group).\n * `node[\"appbox\"][\"apps_dir\"]` (default: `\"/home/apps\"`) - base directory to store apps, writable (with +SGID) by apps group members.\n\n## Recipes\n\n * `appbox::default` - run all recipes.\n * `appbox::package_update` - update software packages (with `apt-get update`).\n * `appbox::users` - create users and groups.\n * `appbox::apps_dir` - setup base directory to store apps.\n * `appbox::tools` - install the following tools:\n * curl\n * htop\n * git\n * tmux\n\n## Requirements\n\n### Supported Platforms\n\n * `ubuntu` - tested on Ubuntu 12.10\n * `debian` - should work\n \nPull requests, issue and test reports are welcomed to better support your platform.\n \n### Cookbook Dependencies\n\n * Depends on these cookbooks:\n * apt\n * sudo\n * user\n * curl\n * htop\n * git\n * tmux\n\n## License and Authors\n\n * Author:: Huiming Teo <teohuiming@gmail.com>\n\nCopyright 2013, Huiming Teo\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
"maintainer": "Huiming Teo",
"maintainer_email": "teohuiming@gmail.com",
"license": "Apache License 2.0",
"platforms": {
"ubuntu": ">= 0.0.0",
"debian": ">= 0.0.0"
},
"dependencies": {
"apt": ">= 0.0.0",
"sudo": ">= 0.0.0",
"user": ">= 0.0.0",
"curl": ">= 0.0.0",
"htop": ">= 0.0.0",
"git": ">= 0.0.0",
"tmux": ">= 0.0.0"
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
},
"replacing": {
},
"attributes": {
},
"groupings": {
},
"recipes": {
},
"version": "0.1.1"
}