From 3971f18de8713b41efae0dab6e9d0e7c5946553c Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 26 Nov 2013 11:20:14 -0500 Subject: [PATCH] loadbalancer: Fix missing location-sockjs config. (imported from commit 27b168e73014d7b7c71fb00ce5b75271393fc491) --- puppet/zulip_internal/manifests/loadbalancer.pp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/puppet/zulip_internal/manifests/loadbalancer.pp b/puppet/zulip_internal/manifests/loadbalancer.pp index c13d70e051..76f89a444a 100644 --- a/puppet/zulip_internal/manifests/loadbalancer.pp +++ b/puppet/zulip_internal/manifests/loadbalancer.pp @@ -13,6 +13,15 @@ class zulip_internal::loadbalancer { notify => Service["nginx"], } + file { "/etc/nginx/zulip-include/location-sockjs": + require => Package["nginx-full"], + owner => "root", + group => "root", + mode => 644, + source => "puppet:///modules/zulip/nginx/zulip-include/location-sockjs", + notify => Service["nginx"], + } + file { "/etc/nginx/sites-available/loadbalancer": require => Package["nginx-full"], ensure => file,