Files
zulip/servers/puppet/modules/humbug/manifests/postgres-slave.pp
Zev Benjamin 387f63deaa puppet: Add vm sysctl settings to Postgres configs
(imported from commit e557815f490a603da635fb60d39569346a72aa85)
2013-04-22 16:36:09 -04:00

26 lines
698 B
Puppet

class humbug::postgres-slave {
class { 'humbug::postgres-common': }
# We bundle a bunch of other sysctl parameters into 40-postgresql.conf
file { '/etc/sysctl.d/30-postgresql-shm.conf':
ensure => absent,
}
file { '/etc/sysctl.d/40-postgresql.conf':
ensure => file,
owner => 'root',
group => 'root',
mode => 644,
source => 'puppet:///modules/humbug/postgresql/40-postgresql.conf.slave',
}
file { "/etc/postgresql/9.1/main/postgresql.conf":
require => Package["postgresql-9.1"],
ensure => file,
owner => "postgres",
group => "postgres",
mode => 644,
source => "puppet:///modules/humbug/postgresql/postgresql.conf.slave",
}
}