mirror of https://github.com/zulip/zulip.git
puppet: Fix bugs in sysctl configuration.
This commit is contained in:
parent
ccfcb34bea
commit
004563b380
|
@ -2,7 +2,7 @@
|
||||||
define zulip::sysctl (
|
define zulip::sysctl (
|
||||||
$source = undef,
|
$source = undef,
|
||||||
$content = undef,
|
$content = undef,
|
||||||
$skip_docker = False,
|
$skip_docker = false,
|
||||||
) {
|
) {
|
||||||
file { "/etc/sysctl.d/40-${name}.conf":
|
file { "/etc/sysctl.d/40-${name}.conf":
|
||||||
ensure => file,
|
ensure => file,
|
||||||
|
|
|
@ -5,7 +5,7 @@ class zulip_ops::profile::prod_app_frontend {
|
||||||
|
|
||||||
$conntrack_max = zulipconf('application_server', 'conntrack_max', 262144)
|
$conntrack_max = zulipconf('application_server', 'conntrack_max', 262144)
|
||||||
zulip::sysctl { 'conntrack':
|
zulip::sysctl { 'conntrack':
|
||||||
content => template('zulip/sysctl.d/40-conntrack.conf.erb'),
|
content => template('zulip_ops/sysctl.d/40-conntrack.conf.erb'),
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/nginx/sites-available/zulip':
|
file { '/etc/nginx/sites-available/zulip':
|
||||||
|
|
Loading…
Reference in New Issue