name 'ganglia-gmond-ucast-localhost'
description 'Ganglia gmond uni-cast to localhost'

run_list(
  'role[ganglia-gmond]'
)

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

default_attributes(
)

override_attributes(
  'ganglia' => {
    'gmond_conf_type' => 'static',
    'cluster' => {
      'name' => 'local',
      'owner' => 'grid.example.com'
    },
    'static' => {
      'udp_send_channels' => [
        {
          'mcast_join' => '',
          'host' => 'localhost',
          'port' => '8649',
          'ttl' => ''
        }
      ],
      'udp_recv_channels' => [
        {
          'mcast_join' => '',
          'port' => '8649',
          'bind' => ''
        }
      ]
    }
  }
)
