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:
Tim Abbott
2013-11-05 15:24:16 -05:00
parent b5979a3fed
commit f8cc8388ec
2 changed files with 2 additions and 5 deletions

View File

@@ -16,7 +16,8 @@ class zulip::app_frontend {
"python-postmonkey", "python-django-jstemplate", "python-postmonkey", "python-django-jstemplate",
"redis-server", "python-redis", "python-django-guardian", "redis-server", "python-redis", "python-django-guardian",
"python-diff-match-patch", "python-sourcemap", "python-mandrill", "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 ) { define safepackage ( $ensure = present ) {
if !defined(Package[$title]) { if !defined(Package[$title]) {
package { $title: ensure => $ensure } package { $title: ensure => $ensure }

View File

@@ -3,10 +3,6 @@ class zulip::local_server {
include zulip::app_frontend include zulip::app_frontend
include zulip::postgres_appdb 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": file { "/etc/nginx/sites-available/zulip-local":
require => Package[nginx], require => Package[nginx],
ensure => file, ensure => file,