cookbook 'berkshelf-api-server', '= 2.0.0'
berkshelf-api-server (6) Versions 2.0.0 Follow9
Installs/Configures a berkshelf-api server
cookbook 'berkshelf-api-server', '= 2.0.0', :supermarket
knife supermarket install berkshelf-api-server
knife supermarket download berkshelf-api-server
berkshelf-api-server cookbook
Installs/Configures a berkshelf-api server
Supported Platforms
- Redhat
- CentOS
- Ubuntu
Attributes
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>[:berkshelf_api][:repo]</tt></td>
<td>String</td>
<td>Github Organization containing the Github release</td>
<td><tt>"berkshelf/berkshelf-api"</tt></td>
</tr>
<tr>
<td><tt>[:berkshelf_api][:release]</tt></td>
<td>String</td>
<td>Name of the release to deploy</td>
<td><tt>v{cookbook_version}</tt></td>
</tr>
<tr>
<td><tt>[:berkshelf_api][:owner]</tt></td>
<td>String</td>
<td>Owner of the deployed application files</td>
<td><tt>"berkshelf"</tt></td>
</tr>
<tr>
<td><tt>[:berkshelf_api][:group]</tt></td>
<td>String</td>
<td>Group of the deployed application files</td>
<td><tt>"berkshelf"</tt></td>
</tr>
<tr>
<td><tt>[:berkshelf_api][:home]</tt></td>
<td>String</td>
<td>Where the application's data is stored</td>
<td><tt>"/etc/berkshelf/api-server"</tt></td>
</tr>
<tr>
<td><tt>[:berkshelf_api][:deploy_path]</tt></td>
<td>String</td>
<td>Where the application is deployed to</td>
<td><tt>"/opt/berkshelf-api/#{berkshelf_api.release}"</tt></td>
</tr>
<tr>
<td><tt>[:berkshelf_api][:port]</tt></td>
<td>Integer</td>
<td>Application's listen port</td>
<td><tt>26200</tt></td>
</tr>
<tr>
<td><tt>[:berkshelf_api][:proxy_port]</tt></td>
<td>Integer</td>
<td>Application's HTTP Proxy listen port</td>
<td><tt>80</tt></td>
</tr>
<tr>
<td><tt>[:berkshelf_api][:host]</tt></td>
<td>String</td>
<td>Proxy's hostname</td>
<td><tt>{fqdn}</tt></td>
</tr>
<tr>
<td><tt>[:berkshelf_api][:config_path]</tt></td>
<td>String</td>
<td>Path to application's configuration file</td>
<td><tt>{berkshelf_api.home}/config.json</tt></td>
</tr>
<tr>
<td><tt>[:berkshelf_api][:config]</tt></td>
<td>Hash</td>
<td>A hash representing the application's JSON configuration</td>
<td><tt>{home_path: {berkshelf_api.home}}
</tt></td>
</tr>
</table>
Usage
berkshelf-api-server::default
Installs the Berkshelf API server and HTTP Proxy on your node
berkshelf-api-server::app
Installs and configures a Berkshelf API server on your node
berkshelf-api-server::http_proxy
Installs and configures an HTTP proxy for the Berkshelf API server on your node
License and Authors
Author:: Jamie Winsor (jamie@vialstudios.com)
Dependent cookbooks
runit >= 0.0.0 |
build-essential >= 2.0.2 |
nginx >= 1.7.0 |
libarchive ~> 0.4 |
github ~> 0.3 |