OSDN Git Service

add .envrc
[metasearch/grid-chef-repo.git] / roles / hadoop-build.rb
1 name 'hadoop-build'
2 description 'Hadoop Build Environment.'
3
4 run_list(
5   'role[apt]',
6   'recipe[hadoop::build]',
7   'role[java]',  # default: Oracle JDK installation.
8   'role[maven]',
9   #'role[protobuf-compiler]',  # default: package installation.
10   'recipe[protobuf-compiler]',
11 )
12
13 #env_run_lists()
14
15 default_attributes(
16   'hadoop' => {
17     'version' => '2.1.0-beta'
18   },
19   'java' => {
20     'jdk_version' => '6'
21   },
22   'maven' => {
23     'install_flavor' => 'apache',  # tarball installation.
24     'version' => '3.0.5'
25   },
26   'protobuf-compiler' => {
27     'install_flavor' => 'google',  # source build installation.
28     'version' => '2.5.0'
29   },
30 )
31
32 #override_attributes()