OSDN Git Service

add HBase with security recipe.
[metasearch/grid-chef-repo.git] / roles / test-on-localhost.rb
1 name 'test-on-localhost'
2 description 'Testing on local machine'
3
4 run_list(
5   'role[mocker]',
6   'role[hadoop-pseudo-distributed-with-security]',
7   'role[zookeeper-pseudo-replicated-with-security]',
8   'role[hbase-pseudo-distributed-with-security]',
9   'role[pig]'
10 )
11
12 #env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
13
14 default_attributes(
15   'krb5' => {
16     'libdefaults' => {
17       'default_realm' => 'LOCALDOMAIN',
18       # strong crypto
19       'default_tgs_enctypes' \
20         => 'aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 arcfour-hmac-md5',
21       'default_tkt_enctypes' \
22         => 'aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 arcfour-hmac-md5',
23       'permitted_enctypes' \
24         => 'aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 arcfour-hmac-md5'
25       # or weak crypto for 1.0.x KSSL
26       #'allow_weak_crypto' => 'true',
27       #'default_tgs_enctypes' \
28       #  => 'aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 arcfour-hmac-md5 des-cbc-crc des-cbc-md5',
29       #'default_tkt_enctypes' \
30       #  => 'aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 arcfour-hmac-md5 des-cbc-crc des-cbc-md5',
31       #'permitted_enctypes' \
32       #  => 'aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 arcfour-hmac-md5 des-cbc-crc des-cbc-md5'
33     }
34   },
35   'zookeeper' => {
36     'version' => '3.4.5'
37   },
38   'hadoop' => {
39     #'version' => '1.1.2',
40     'version' => '1.0.4',
41     # for 1.0.x only >>
42     'extra_configs' => {
43       'core-site.xml' => {
44         'hadoop.http.authentication.signature.secret' \
45           => '91d365813d6dd1f4ceafff73f90a9a06'
46       }
47     },
48     'krb5_strong_crypto' => {
49       'default_tgs_enctypes' \
50         => 'aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 arcfour-hmac-md5',
51       'default_tkt_enctypes' \
52         => 'aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 arcfour-hmac-md5',
53       'permitted_enctypes' \
54         => 'aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 arcfour-hmac-md5'
55     },
56     'krb5_weak_crypto' => {
57       'default_tgs_enctypes' \
58         => 'des-cbc-crc des-cbc-md5',
59       'default_tkt_enctypes' \
60         => 'aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 arcfour-hmac-md5 des-cbc-crc des-cbc-md5',
61       'permitted_enctypes' \
62         => 'aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 arcfour-hmac-md5 des-cbc-crc des-cbc-md5'
63     }
64     # <<
65   },
66   'hbase' => {
67     'version' => '0.94.7'
68   },
69   'pig' => {
70     'version' => '0.11.1'
71     #'version' => '0.11.0'
72   }
73 )
74
75 #override_attributes "apache2" => { "max_children" => "50" }