]> git.openstreetmap.org Git - chef.git/blob - roles/shenron.rb
Add wiki role to ouroboros (still testing)
[chef.git] / roles / shenron.rb
1 name "shenron"
2 description "Master role applied to shenron"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :bretth => {
8         :status => :user,
9         :shell => "/usr/bin/git-shell"
10       },
11     }
12   },
13   :apache => {
14     :mpm => "event",
15     :event => {
16       :max_requests_per_child => 2000
17     }
18   },
19   :networking => {
20     :interfaces => {
21       :external_ipv4 => {
22         :interface => "eth0",
23         :role => :external,
24         :family => :inet,
25         :address => "89.16.179.150",
26         :prefix => "26",
27         :gateway => "89.16.179.129"
28       },
29       :external_ipv6 => {
30         :interface => "eth0",
31         :role => :external,
32         :family => :inet6,
33         :address => "2001:41c8:0010:0996:21d:7dff:fec3:df70",
34         :prefix => "64",
35         :gateway => "fe80::1"
36       },
37     }
38   },
39   :openvpn => {
40     :address => "10.0.16.3",
41     :tunnels => {
42       :shenron2ucl => {
43         :port => "1194",
44         :mode => "server",
45         :peer => {
46           :host => "ridley.openstreetmap.org"
47         }
48       }
49     }
50   }
51 )
52
53 run_list(
54   "role[bytemark]",
55   "role[mail]",
56   "role[lists]",
57   "role[git]",
58   "role[subversion]",
59   "role[trac]",
60   "role[osqa]",
61   "role[irc]",
62   "role[dns]",
63   "role[geodns]",
64   "role[chef-repository]",
65   "recipe[openvpn]"
66 )