class zulip_ops::postgres_slave { include zulip_ops::base include zulip_ops::postgres_appdb file { "/var/lib/postgresql/${zulip::base::postgres_version}/main/recovery.conf": require => Package["postgresql-${zulip::base::postgres_version}"], ensure => file, owner => "postgres", group => "postgres", mode => 644, source => 'puppet:///modules/zulip_ops/postgresql/recovery.conf', } file { '/etc/sysctl.d/40-postgresql.conf': ensure => file, owner => 'root', group => 'root', mode => 644, source => 'puppet:///modules/zulip_ops/postgresql/40-postgresql.conf.slave', } }