]> git.openstreetmap.org Git - chef.git/blob - roles/azure-01.rb
Add tile style to azure-01
[chef.git] / roles / azure-01.rb
1 name "azure-01"
2 description "Master role applied to azure-01"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :external => {
8         :interface => "bond0",
9         :role => :external,
10         :inet => {
11           :address => "103.147.22.156",
12           :prefix => "24",
13           :gateway => "103.147.22.254"
14         },
15         :bond => {
16           :mode => "802.3ad",
17           :lacprate => "slow",
18           :xmithashpolicy => "layer3+4",
19           :slaves => %w[ens1f0np0 ens1f1np1]
20         }
21       }
22     }
23   },
24   :tile => {
25     :styles => {
26       :default => {
27         :tile_directories => [
28           { :name => "/store/tiles/default", :min_zoom => 0, :max_zoom => 19 }
29         ]
30       }
31     }
32   }
33 )
34
35 run_list(
36   "role[twds]",
37   "role[tile]"
38 )