]> git.openstreetmap.org Git - chef.git/blob - roles/norbert.rb
Increase number of CPUs used for background renders
[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     }
25   },
26   :sysfs => {
27     :hdd_tune => {
28       :comment => "Tune the queue for improved performance",
29       :parameters => {
30         "block/cciss\!c0d0/queue/nr_requests" => "512",
31         "block/cciss\!c0d1/queue/nr_requests" => "512",
32         "block/cciss\!c0d0/queue/scheduler" => "noop",
33         "block/cciss\!c0d1/queue/scheduler" => "noop",
34         "block/sda/queue/nr_requests" => "512",
35         "block/sda/queue/scheduler" => "deadline"
36       }
37     }
38   }
39 )
40
41 run_list(
42   "role[ucl-internal]"
43 )