name 'zookeeper-pseudo-replicated'
description 'ZooKeeper pseudo replicated mode'

run_list(
  'role[node_commons]',
  'role[zookeeper]'
)

#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []

default_attributes(
  'zookeeper' => {
    'run_mode' => 'pseudo-replicated',
    'member_of_hadoop' => true,
    'clientPort' => '2180'
  }
)

#override_attributes "apache2" => { "max_children" => "50" }
