description "Master role applied to katla"
default_attributes(
+ :apt => {
+ :sources => ["postgresql"]
+ },
:db => {
- :cluster => "9.1/main"
+ :cluster => "9.5/main"
},
:devices => {
:store_slow => {
:family => :inet,
:address => "10.0.32.40",
:bond => {
- :slaves => %w(eth0 eth1)
+ :slaves => %w[eth0 eth1]
}
}
}
run_list(
"role[bytemark]",
- "role[db-master]",
- "role[db-backup]"
+ "role[db-slave]"
)