mirror of https://github.com/zulip/zulip.git
puppet: Move queue error and stats directories to just the app host.
This commit is contained in:
parent
4d4c21499a
commit
423b5c2be2
|
@ -145,6 +145,21 @@ class zulip::app_frontend_base {
|
||||||
group => 'zulip',
|
group => 'zulip',
|
||||||
mode => '0755',
|
mode => '0755',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
file { '/var/log/zulip/queue_error':
|
||||||
|
ensure => 'directory',
|
||||||
|
owner => 'zulip',
|
||||||
|
group => 'zulip',
|
||||||
|
mode => '0640',
|
||||||
|
}
|
||||||
|
|
||||||
|
file { '/var/log/zulip/queue_stats':
|
||||||
|
ensure => 'directory',
|
||||||
|
owner => 'zulip',
|
||||||
|
group => 'zulip',
|
||||||
|
mode => '0640',
|
||||||
|
}
|
||||||
|
|
||||||
file { "${zulip::common::nagios_plugins_dir}/zulip_app_frontend":
|
file { "${zulip::common::nagios_plugins_dir}/zulip_app_frontend":
|
||||||
require => Package[$zulip::common::nagios_plugins],
|
require => Package[$zulip::common::nagios_plugins],
|
||||||
recurse => true,
|
recurse => true,
|
||||||
|
|
|
@ -144,20 +144,6 @@ class zulip::base {
|
||||||
mode => '0640',
|
mode => '0640',
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/var/log/zulip/queue_error':
|
|
||||||
ensure => 'directory',
|
|
||||||
owner => 'zulip',
|
|
||||||
group => 'zulip',
|
|
||||||
mode => '0640',
|
|
||||||
}
|
|
||||||
|
|
||||||
file { '/var/log/zulip/queue_stats':
|
|
||||||
ensure => 'directory',
|
|
||||||
owner => 'zulip',
|
|
||||||
group => 'zulip',
|
|
||||||
mode => '0640',
|
|
||||||
}
|
|
||||||
|
|
||||||
file { "${zulip::common::nagios_plugins_dir}/zulip_base":
|
file { "${zulip::common::nagios_plugins_dir}/zulip_base":
|
||||||
require => Package[$zulip::common::nagios_plugins],
|
require => Package[$zulip::common::nagios_plugins],
|
||||||
recurse => true,
|
recurse => true,
|
||||||
|
|
Loading…
Reference in New Issue