mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
puppet: Move nodejs into app_frontend.pp.
It's needed for camo and update-prod-static. (imported from commit ae121f168f735abef002c6143b57c961e5d20429)
This commit is contained in:
@@ -16,7 +16,8 @@ class zulip::app_frontend {
|
||||
"python-postmonkey", "python-django-jstemplate",
|
||||
"redis-server", "python-redis", "python-django-guardian",
|
||||
"python-diff-match-patch", "python-sourcemap", "python-mandrill",
|
||||
"python-sockjs-tornado", "python-apns-client", "python-imaging"]
|
||||
"python-sockjs-tornado", "python-apns-client", "python-imaging",
|
||||
"nodejs"]
|
||||
define safepackage ( $ensure = present ) {
|
||||
if !defined(Package[$title]) {
|
||||
package { $title: ensure => $ensure }
|
||||
|
||||
@@ -3,10 +3,6 @@ class zulip::local_server {
|
||||
include zulip::app_frontend
|
||||
include zulip::postgres_appdb
|
||||
|
||||
# This should be migrated over to app_frontend, once validated as functional
|
||||
# on app servers.
|
||||
package { "nodejs": ensure => installed }
|
||||
|
||||
file { "/etc/nginx/sites-available/zulip-local":
|
||||
require => Package[nginx],
|
||||
ensure => file,
|
||||
|
||||
Reference in New Issue
Block a user