From 6ccf19bed677e8932374b2003094b907584b2fde Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 17 Dec 2013 13:45:54 -0500 Subject: [PATCH] Run log2zulip on load balancers too. (imported from commit 74c8be20d2d03aa524f05b7681febe9a9be9cdff) --- .../zulip_internal/manifests/loadbalancer.pp | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/puppet/zulip_internal/manifests/loadbalancer.pp b/puppet/zulip_internal/manifests/loadbalancer.pp index d178971a33..3a17c9e8d2 100644 --- a/puppet/zulip_internal/manifests/loadbalancer.pp +++ b/puppet/zulip_internal/manifests/loadbalancer.pp @@ -36,4 +36,28 @@ class zulip_internal::loadbalancer { mode => 644, source => "puppet:///modules/zulip_internal/camo_defaults", } + + file { '/etc/log2zulip.conf': + ensure => file, + owner => "zulip", + group => "zulip", + mode => 644, + source => 'puppet:///modules/zulip_internal/log2zulip.conf', + } + + file { '/etc/cron.d/log2zulip': + ensure => file, + owner => "zulip", + group => "zulip", + mode => 644, + source => 'puppet:///modules/zulip_internal/cron.d/log2zulip', + } + + file { '/etc/log2zulip.zuliprc': + ensure => file, + owner => "zulip", + group => "zulip", + mode => 600, + source => 'puppet:///modules/zulip_internal/log2zulip.zuliprc', + } }