mirror of https://github.com/zulip/zulip.git
puppet: Collapse identical blocks.
This commit is contained in:
parent
ac63c791eb
commit
7f2514b316
|
@ -179,53 +179,24 @@ class zulip::app_frontend_base {
|
||||||
onlyif => 'touch /proc/sys/net/core/somaxconn',
|
onlyif => 'touch /proc/sys/net/core/somaxconn',
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/home/zulip/tornado':
|
file { [
|
||||||
|
'/home/zulip/tornado',
|
||||||
|
'/home/zulip/logs',
|
||||||
|
'/home/zulip/prod-static',
|
||||||
|
'/home/zulip/deployments',
|
||||||
|
'/srv/zulip-npm-cache',
|
||||||
|
'/srv/zulip-emoji-cache',
|
||||||
|
'/srv/zulip-uploaded-files-cache',
|
||||||
|
]:
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
owner => 'zulip',
|
owner => 'zulip',
|
||||||
group => 'zulip',
|
group => 'zulip',
|
||||||
mode => '0755',
|
mode => '0755',
|
||||||
}
|
}
|
||||||
file { '/home/zulip/logs':
|
file { [
|
||||||
ensure => directory,
|
'/var/log/zulip/queue_error',
|
||||||
owner => 'zulip',
|
'/var/log/zulip/queue_stats',
|
||||||
group => 'zulip',
|
]:
|
||||||
}
|
|
||||||
file { '/home/zulip/prod-static':
|
|
||||||
ensure => directory,
|
|
||||||
owner => 'zulip',
|
|
||||||
group => 'zulip',
|
|
||||||
}
|
|
||||||
file { '/home/zulip/deployments':
|
|
||||||
ensure => directory,
|
|
||||||
owner => 'zulip',
|
|
||||||
group => 'zulip',
|
|
||||||
}
|
|
||||||
file { '/srv/zulip-npm-cache':
|
|
||||||
ensure => directory,
|
|
||||||
owner => 'zulip',
|
|
||||||
group => 'zulip',
|
|
||||||
mode => '0755',
|
|
||||||
}
|
|
||||||
file { '/srv/zulip-emoji-cache':
|
|
||||||
ensure => directory,
|
|
||||||
owner => 'zulip',
|
|
||||||
group => 'zulip',
|
|
||||||
mode => '0755',
|
|
||||||
}
|
|
||||||
file { '/srv/zulip-uploaded-files-cache':
|
|
||||||
ensure => directory,
|
|
||||||
owner => 'zulip',
|
|
||||||
group => 'zulip',
|
|
||||||
mode => '0755',
|
|
||||||
}
|
|
||||||
file { '/var/log/zulip/queue_error':
|
|
||||||
ensure => directory,
|
|
||||||
owner => 'zulip',
|
|
||||||
group => 'zulip',
|
|
||||||
mode => '0640',
|
|
||||||
}
|
|
||||||
|
|
||||||
file { '/var/log/zulip/queue_stats':
|
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
owner => 'zulip',
|
owner => 'zulip',
|
||||||
group => 'zulip',
|
group => 'zulip',
|
||||||
|
|
Loading…
Reference in New Issue