mirror of https://github.com/zulip/zulip.git
puppet: Also set systemd limits.
This commit is contained in:
parent
1c76036c61
commit
26eb1d7371
|
@ -0,0 +1,2 @@
|
|||
[Manager]
|
||||
DefaultLimitNOFILE=1000000
|
|
@ -102,6 +102,19 @@ class zulip::profile::base {
|
|||
group => 'root',
|
||||
source => 'puppet:///modules/zulip/security/limits.conf',
|
||||
}
|
||||
file { '/etc/systemd/system.conf.d/':
|
||||
ensure => directory,
|
||||
mode => '0755',
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
}
|
||||
file { '/etc/systemd/system.conf.d/limits.conf':
|
||||
ensure => file,
|
||||
mode => '0644',
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
source => 'puppet:///modules/zulip/systemd/system.conf.d/limits.conf',
|
||||
}
|
||||
|
||||
service { 'puppet':
|
||||
ensure => 'stopped',
|
||||
|
|
Loading…
Reference in New Issue