OSDN Git Service

fix service control.
[metasearch/grid-chef-repo.git] / roles / ganglia-gmetad-localhost.rb
1 name 'ganglia-gmetad-localhost'
2 description 'Ganglia gmetad on localhost'
3
4 run_list(
5   'role[ganglia-gmetad]'
6 )
7
8 #env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
9
10 default_attributes(
11 )
12
13 override_attributes(
14   'ganglia' => {
15     'data_sources' => [
16       {
17         :name => 'local',
18         :polling_interval => '',
19         :address_list => ['localhost']
20       }
21     ],
22     'gridname' => 'Test'
23   }
24 )