Awesome
seyren-cookbook
This cookbook is designed to be able to deploy Seyren application.
Supported Platforms
Ubuntu, CentOS
Attributes
<table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>['seyren']['application_name']</tt></td> <td>String</td> <td>Name of the application</td> <td><tt>seyren</tt></td> </tr> <tr> <td><tt>['seyren']['application_path']</tt></td> <td>String</td> <td>Location to deploy Seyren</td> <td><tt>/opt/seyren</tt></td> </tr> <tr> <td><tt>['seyren']['application_version']</tt></td> <td>String</td> <td>Version to deploy.</td> <td></td> </tr> <tr> <td><tt>['seyren']['war_uri']</tt></td> <td>String</td> <td>Seyren war location.</td> <td><tt>http://dl.bintray.com/obazoud/generic/seyren-web-1.0.0.war</tt></td> </tr> <tr> <td><tt>['seyren']['search']</tt></td> <td>String</td> <td>Query to search nodes.</td> <td><tt>*:*</tt></td> </tr> <tr> <td><tt>['seyren']['mongo']['db']</tt></td> <td>String</td> <td>Database for mongoimport to import data.</td> <td><tt>seyren</tt></td> </tr> <tr> <td><tt>['seyren']['mongo']['collection']</tt></td> <td>String</td> <td>Collection for mongoimport to import.</td> <td><tt>checks</tt></td> </tr> <tr> <td><tt>['seyren']['mongo']['file']</tt></td> <td>String</td> <td>The location of a file containing the data to import.</td> <td><tt>seyren</tt></td> </tr> </table>Usage
seyren::default
Installation of Seyren application (Tomcat + War) and Mongodb.
Include seyren
in your node's run_list
:
{
"run_list": [
"recipe[seyren::default]"
]
}
seyren::mongo-import-data
Generate data to import based on node search.
Include seyren
in your node's run_list
:
{
"run_list": [
"recipe[seyren::mongo-import-data]"
]
}
Contributing
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
License and Authors
Author:: Olivier Bazoud (olivier.bazoud@gmail.com)
Copyright:: 2014, Olivier Bazoud
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.