This cookbook is designed to be able to deploy Seyren application.
Ubuntu, CentOS
Key | Type | Description | Default |
---|---|---|---|
['seyren']['application_name'] | String | Name of the application | seyren |
['seyren']['application_path'] | String | Location to deploy Seyren | /opt/seyren |
['seyren']['application_version'] | String | Version to deploy. | |
['seyren']['war_uri'] | String | Seyren war location. | http://dl.bintray.com/obazoud/generic/seyren-web-1.0.0.war |
['seyren']['search'] | String | Query to search nodes. | *:* |
['seyren']['mongo']['db'] | String | Database for mongoimport to import data. | seyren |
['seyren']['mongo']['collection'] | String | Collection for mongoimport to import. | checks |
['seyren']['mongo']['file'] | String | The location of a file containing the data to import. | seyren |
Installation of Seyren application (Tomcat + War) and Mongodb.
Include seyren
in your node's run_list
:
{
"run_list": [
"recipe[seyren::default]"
]
}
Generate data to import based on node search.
Include seyren
in your node's run_list
:
{
"run_list": [
"recipe[seyren::mongo-import-data]"
]
}
- 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
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.