]> git.openstreetmap.org Git - chef.git/blob - roles/norbert.rb
imagery: update README.md
[chef.git] / roles / norbert.rb
1 name "norbert"
2 description "Master role applied to norbert"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :yellowbkpk => { :status => :administrator },
8       :pnorman => { :status => :user }
9     }
10   },
11   :exim => {
12     :aliases => {
13       :root => "yellowbkpk"
14     }
15   },
16   :networking => {
17     :interfaces => {
18       :internal_ipv4 => {
19         :interface => "eth0",
20         :role => :internal,
21         :family => :inet,
22         :address => "10.0.0.5"
23       },
24       :external_ipv4 => {
25         :interface => "eth1",
26         :role => :external,
27         :family => :inet,
28         :address => "128.40.45.202"
29       }
30     }
31   },
32   :sysfs => {
33     :hdd_tune => {
34       :comment => "Tune the queue for improved performance",
35       :parameters => {
36         "block/cciss\!c0d0/queue/nr_requests" => "512",
37         "block/cciss\!c0d1/queue/nr_requests" => "512",
38         "block/cciss\!c0d0/queue/scheduler" => "noop",
39         "block/cciss\!c0d1/queue/scheduler" => "noop",
40         "block/sda/queue/nr_requests" => "512",
41         "block/sda/queue/scheduler" => "deadline"
42       }
43     }
44   }
45 )
46
47 run_list(
48   "role[ucl-wolfson]",
49   "role[hp-g5]"
50 )