description "Master role applied to katla"
default_attributes(
+ :apt => {
+ :sources => ["postgresql"]
+ },
:db => {
- :cluster => "9.1/main"
+ :cluster => "9.5/main"
},
:devices => {
:store_slow => {
:networking => {
:interfaces => {
:internal_ipv4 => {
- :interface => "eth0",
+ :interface => "bond0",
:role => :internal,
:family => :inet,
- :address => "146.179.159.173",
- :hwaddress => "00:25:90:94:91:00"
+ :address => "10.0.32.40",
+ :bond => {
+ :slaves => %w[eth0 eth1]
+ }
}
}
},
)
run_list(
- "role[ic]",
- "role[db-master]",
- "role[db-backup]"
+ "role[bytemark]",
+ "role[db-slave]"
)