mirror of https://github.com/zulip/zulip.git
puppet: Install postgres config files
(imported from commit a01bd1d0b14b1436e50605fc14c6267fe77989fc)
This commit is contained in:
parent
779191b30e
commit
f7237ac2aa
|
@ -322,6 +322,24 @@ class humbug_postgres {
|
|||
mode => 644
|
||||
}
|
||||
|
||||
file { "/etc/postgresql/9.1/main/postgresql.conf":
|
||||
require => Package["postgresql-9.1"],
|
||||
ensure => file,
|
||||
owner => "postgres",
|
||||
group => "postgres",
|
||||
mode => 644,
|
||||
source => "/root/humbug/servers/puppet/files/postgresql/postgresql.conf",
|
||||
}
|
||||
|
||||
file { "/etc/postgresql/9.1/main/pg_hba.conf":
|
||||
require => Package["postgresql-9.1"],
|
||||
ensure => file,
|
||||
owner => "postgres",
|
||||
group => "postgres",
|
||||
mode => 640,
|
||||
source => "/root/humbug/servers/puppet/files/postgresql/pg_hba.conf",
|
||||
}
|
||||
|
||||
common::append_if_no_such_line { 'shmmax':
|
||||
require => Package['postgresql-9.1'],
|
||||
file => '/etc/sysctl.d/30-postgresql-shm.conf',
|
||||
|
|
Loading…
Reference in New Issue