Skip to content

makotokw/cookbook-predictionio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

predictionio Cookbook

Installs standalone PredictionIO for development in Vagrant.

TODO

  • Support redhat platform_family
  • Fix admin_user recipe
  • For production servers

Requirements

This cookbook requires Chef 11.0.0 or later.

Platform

  • Ubuntu 12.04

Attributes

predictionio::default

Key Type Description Default
['predictionio']['root_path'] String Path to install PredictionIO '/opt/PredictionIO'
['predictionio']['version'] String Version of PredictionIO to install '0.7.1'
['predictionio']['hadoop_version'] String Version of Hadoop '1.2.1
['predictionio']['user'] String Version of Hadoop 'vagrant'

Usage

predictionio::default

Just include predictionio in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[java]",
    "recipe[mongodb::10gen_repo]",
    "recipe[mongodb]",
    "recipe[predictionio]"
  ],
  "java": {
    "install_flavor": "openjdk",
    "jdk_version": "7"
  },
  "predictionio": {
      "user": "vagrant",
      "version": "0.7.1",
      "hadoop_version": "1.2.1"
  }
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Copyright:: 2014, Makoto Kawasaki

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.

About

Chef Cookbook for PredictionIO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages