Skip to content

uranium/chef-seyren

 
 

Repository files navigation

seyren-cookbook

This cookbook is designed to be able to deploy Seyren application.

Build Status

Supported Platforms

Ubuntu, CentOS

Attributes

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

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

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  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

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.