cookbook 'zendserver', '= 0.8.0'
zendserver
(24) Versions
0.8.0
-
Follow5
Installs/Configures zendserver
cookbook 'zendserver', '= 0.8.0', :supermarket
knife supermarket install zendserver
knife supermarket download zendserver
zendserver Cookbook
This cookbook installs and manages Zend Server
It allows bootstrapping Zend Server in single server mode or cluster mode.
Requirements
Platforms
- Debian, Ubuntu
- RHEL, CentOS, Oracle Linux
Cookbooks
- apt
- yum
Attributes
zendserver::single
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['zendserver']['version']</tt></td>
<td>string</td>
<td>Zend Server version to install</td>
<td><tt>6.1</tt></td>
</tr>
<tr>
<td><tt>['zendserver']['phpversion']</tt></td>
<td>string</td>
<td>PHP version to install</td>
<td><tt>5.4</tt></td>
</tr>
<tr>
<td><tt>['zendserver']['ordernumber']</tt></td>
<td>string</td>
<td>The order number part of the license information</td>
<td><tt>-</tt></td>
</tr>
<tr>
<td><tt>['zendserver']['licensekey']</tt></td>
<td>string</td>
<td>The license key part of the license information</td>
<td><tt>-</tt></td>
</tr>
<tr>
<td><tt>['zendserver']['production']</tt></td>
<td>boolean</td>
<td>Bootstrap Zend Server in production (true)/development(false) mode (See zend server documentation for more details)</td>
<td><tt>TRUE</tt></td>
</tr>
<tr>
<td><tt>['zendserver']['apikeyname']</tt></td>
<td>string</td>
<td>Name fort the web API key that the installer creates. The api key is required for all management functionality</td>
<td><tt>-</tt></td>
</tr>
<tr>
<td><tt>['zendserver']['apikeysecret']</tt></td>
<td>string</td>
<td>A 64 character key used for signing API requests</td>
<td><tt>-</tt></td>
</tr>
<tr>
<td><tt>['zendserver']['adminemail']</tt></td>
<td>string</td>
<td>An email address for the Zend Server admin</td>
<td><tt>-</tt></td>
</tr>
</table>
zendserver::cluster
Requires all the attributes listed for single, plus a valid MySQL database.
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['zendserver']['dbhost']</tt></td>
<td>string</td>
<td>A MySQL database server host address - required for clustering</td>
<td><tt>-</tt></td>
</tr>
<tr>
<td><tt>['zendserver']['dbusername']</tt></td>
<td>string</td>
<td>The MySQL server username, must be able to create a database - required for clustering</td>
<td><tt>-</tt></td>
</tr>
<tr>
<td><tt>['zendserver']['dbpassword']</tt></td>
<td>string</td>
<td>The MySQL server password - required for clustering</td>
<td><tt>-</tt></td>
</tr>
</table>
Usage
zendserver:single
Installs Zend Server, and bootstraps in single server mode
Just include zendserver
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[zendserver::single]" ] }
zendserver:cluster
Installs Zend Server, and bootstraps in cluster mode
Just include zendserver
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[zendserver::cluster]" ] }
Contributing
e.g.
1. Fork the repository on Github
2. Create a named feature branch (like add_component_x
)
3. Write you change
4. Write tests for your change (if applicable)
5. Run the tests, ensuring they all pass
6. Submit a Pull Request using Github
Dependent cookbooks
apt >= 0.0.0 |
yum >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.