OSDN Git Service

add .envrc
[metasearch/grid-chef-repo.git] / roles / hbase-pleiades.rb
1 name 'hbase-pleiades'
2 description 'Pleiades HBase cluster node'
3
4 run_list(
5   'role[node_commons]',
6   # LDAP (option)
7   #'role[nameservice-client-grid]',
8   'role[hbase]'
9 )
10
11 #env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
12
13 hbase_attributes = {
14   # hbase-site.xml
15   'this.cluster.name' => 'pleiades', 
16   'this.domain' => 'grid.example.com',
17   'this.namenode.fqdn' => '${this.cluster.name}-nn.${this.domain}',
18   'hbase.zookeeper.quorum' \
19     => 'zk00.grid.example.com,zk01.grid.example.com,zk02.grid.example.com'
20 }
21
22 default_attributes(
23   'hbase' => hbase_attributes
24 )
25
26 #override_attributes "apache2" => { "max_children" => "50" }