description "Master role applied to ramoth"
default_attributes(
- :accounts => {
- :users => {
- :osmbackup => { :status => :role }
- }
- },
:db => {
:cluster => "9.1/main"
},
}
}
},
+ :hardware => {
+ :watchdog => "w83627hf_wdt"
+ },
:networking => {
:interfaces => {
:internal_ipv4 => {
:sysctl => {
:postgres => {
:comment => "Increase shared memory for postgres",
- :parameters => {
+ :parameters => {
"kernel.shmmax" => 66 * 1024 * 1024 * 1024,
"kernel.shmall" => 66 * 1024 * 1024 * 1024 / 4096
}
}
}
-);
+)
run_list(
"role[ic]",
- "role[db-master]",
- "role[db-backup]"
+ "role[db-slave]"
)