OSDN Git Service

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