puppet: Move queue error and stats directories to just the app host.

This commit is contained in:
Alex Vandiver 2020-10-20 00:21:45 -07:00 committed by Tim Abbott
parent 4d4c21499a
commit 423b5c2be2
2 changed files with 15 additions and 14 deletions

View File

@ -145,6 +145,21 @@ class zulip::app_frontend_base {
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',
owner => 'zulip',
group => 'zulip',
mode => '0640',
}
file { "${zulip::common::nagios_plugins_dir}/zulip_app_frontend":
require => Package[$zulip::common::nagios_plugins],
recurse => true,

View File

@ -144,20 +144,6 @@ class zulip::base {
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":
require => Package[$zulip::common::nagios_plugins],
recurse => true,