2013-11-10 15:58:10 +01:00
|
|
|
class zulip_internal::app_frontend {
|
|
|
|
include zulip::app_frontend
|
|
|
|
$app_packages = [# Needed for minify-js
|
|
|
|
"yui-compressor",
|
|
|
|
"nodejs",
|
|
|
|
# Needed for statsd reporting
|
|
|
|
"python-django-statsd-mozilla",
|
2013-11-10 16:01:45 +01:00
|
|
|
# Needed only for a disabled integration
|
|
|
|
"python-embedly",
|
2013-11-10 15:58:10 +01:00
|
|
|
]
|
|
|
|
package { $app_packages: ensure => "installed" }
|
|
|
|
|
2013-11-15 17:31:16 +01:00
|
|
|
file { "/etc/nginx/zulip-include/app.d/accept-loadbalancer.conf":
|
|
|
|
require => Package["nginx-full"],
|
|
|
|
owner => "root",
|
|
|
|
group => "root",
|
|
|
|
mode => 644,
|
|
|
|
source => "puppet:///modules/zulip_internal/nginx/zulip-include-app.d/accept-loadbalancer.conf",
|
|
|
|
notify => Service["nginx"],
|
|
|
|
}
|
|
|
|
|
2013-11-10 15:58:10 +01:00
|
|
|
}
|