mirror of https://github.com/zulip/zulip.git
22 lines
606 B
Puppet
22 lines
606 B
Puppet
class zulip_internal::postgres_slave {
|
|
include zulip_internal::base
|
|
include zulip_internal::postgres_appdb
|
|
|
|
file { '/etc/sysctl.d/40-postgresql.conf':
|
|
ensure => file,
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => 644,
|
|
source => 'puppet:///modules/zulip_internal/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/zulip_internal/postgresql/postgresql.conf.slave",
|
|
}
|
|
}
|