zulip/servers/puppet/modules/humbug/manifests/postgres-slave.pp

26 lines
698 B
ObjectPascal
Raw Normal View History

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",
}
}