Installs standalone PredictionIO for development in Vagrant.
- Support redhat platform_family
- Fix
admin_user
recipe - For production servers
This cookbook requires Chef 11.0.0 or later.
- Ubuntu 12.04
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' |
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"
}
}
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
- Author:: Makoto Kawasaki makoto.kw@gmail.com
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.