]> git.openstreetmap.org Git - chef.git/blob - roles/ridley.rb
Simplify named configuration
[chef.git] / roles / ridley.rb
1 name "ridley"
2 description "Master role applied to ridley"
3
4 default_attributes(
5   :apache => {
6     :mpm => "event",
7     :event => {
8       :start_servers => 12,
9       :server_limit => 48,
10       :min_spare_threads => 25,
11       :max_spare_threads => 75,
12       :max_connections_per_child => 10000
13     }
14   },
15   :dhcpd => {
16     :first_address => "10.0.15.1",
17     :last_address => "10.0.15.254"
18   },
19   :networking => {
20     :interfaces => {
21       :external_ipv4 => {
22         :interface => "eth0.2800",
23         :role => :external,
24         :family => :inet,
25         :address => "193.60.236.19"
26       },
27       :internal_ipv4 => {
28         :interface => "eth0.2801",
29         :role => :internal,
30         :family => :inet,
31         :address => "10.0.0.3"
32       }
33     }
34   }
35 )
36
37 run_list(
38   "role[ucl]",
39   "role[hp-dl360-g6]",
40   "role[gateway]",
41   "role[foundation]",
42   "role[stateofthemap]",
43   "role[blog]",
44   "role[otrs]",
45   "role[donate]",
46   "recipe[hot]",
47   "recipe[dmca]",
48   "recipe[dhcpd]",
49   "recipe[ideditor]"
50 )