]> git.openstreetmap.org Git - chef.git/blob - roles/yevaud.rb
Add mapui.apis.dev.openstreetmap.org
[chef.git] / roles / yevaud.rb
1 name "yevaud"
2 description "Master role applied to yevaud"
3
4 default_attributes(
5   :munin => {
6     :plugins => {
7       :cpu => {
8         :system => { 
9           :warning => 500,
10           :critical => 600
11         }
12       },
13       :load => {
14         :load => { 
15           :warning => 150,
16           :critical => 200
17         }
18       },
19       :ipmi_fans => {
20         :contacts => "null",
21       },
22       :ipmi_temp => {
23         :contacts => "null",
24       },
25       :sensors_fan => {
26         :contacts => "null"
27       },
28       :sensors_temp => {
29         :contacts => "null"
30       },
31       :sensors_volt => {
32         :contacts => "null"
33       }
34     }
35   },
36   :networking => {
37     :interfaces => {
38       :internal_ipv4 => {
39         :interface => "eth0",
40         :role => :internal,
41         :family => :inet,
42         :address => "10.0.0.15"
43       },
44       :external_ipv4 => {
45         :interface => "eth1",
46         :role => :external,
47         :family => :inet,
48         :address => "128.40.168.104"
49       }
50     }
51   },
52   :sysctl => {
53     :postgres => {
54       :comment => "Increase shared memory for postgres",
55       :parameters => { 
56         "kernel.shmmax" => 4 * 1024 * 1024 * 1024
57       }
58     }
59   }
60 );
61
62 run_list(
63   "role[ucl-internal]",
64   "role[tile-old]"
65 )