description "Master role applied to orm"
default_attributes(
+ :apt => {
+ :sources => ["postgresql"]
+ },
:devices => {
:ssd_samsung => {
:comment => "Tune scheduler for SSD",
}
},
:postgresql => {
- :versions => [ "9.1" ],
+ :versions => ["9.4"],
:settings => {
:defaults => {
:shared_buffers => "8GB",
:sysctl => {
:postgres => {
:comment => "Increase shared memory for postgres",
- :parameters => {
+ :parameters => {
"kernel.shmmax" => 9 * 1024 * 1024 * 1024,
"kernel.shmall" => 9 * 1024 * 1024 * 1024 / 4096
}
}
},
:tile => {
+ :database => {
+ :cluster => "9.4/main"
+ },
:node_file => "/store/database/nodes",
:styles => {
:default => {
override_attributes(
:networking => {
- :nameservers => [ "8.8.8.8", "8.8.4.4" ]
+ :nameservers => ["8.8.8.8", "8.8.4.4"]
}
)