KartikMistry has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/323506

Change subject: contenttranslation: Add module name explicitly
......................................................................

contenttranslation: Add module name explicitly

Bug: T151435
Change-Id: Ifd0a219346e72a1bc65be97d216ec3bf7b53ad67
---
M puppet/modules/contenttranslation/manifests/cxserver.pp
M puppet/modules/contenttranslation/templates/cxserver.config.yaml.erb
2 files changed, 4 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant 
refs/changes/06/323506/1

diff --git a/puppet/modules/contenttranslation/manifests/cxserver.pp 
b/puppet/modules/contenttranslation/manifests/cxserver.pp
index e3f09a7..6222943 100644
--- a/puppet/modules/contenttranslation/manifests/cxserver.pp
+++ b/puppet/modules/contenttranslation/manifests/cxserver.pp
@@ -60,7 +60,9 @@
     require ::service
 
     service::node { 'cxserver':
-        port      => $port,
-        config    => template('contenttranslation/cxserver.config.yaml.erb'),
+        port   => $port,
+        script => 'src/server.js',
+        module => 'src/app.js',
+        config => template('contenttranslation/cxserver.config.yaml.erb'),
     }
 }
diff --git 
a/puppet/modules/contenttranslation/templates/cxserver.config.yaml.erb 
b/puppet/modules/contenttranslation/templates/cxserver.config.yaml.erb
index 08cc978..485b1f8 100644
--- a/puppet/modules/contenttranslation/templates/cxserver.config.yaml.erb
+++ b/puppet/modules/contenttranslation/templates/cxserver.config.yaml.erb
@@ -30,6 +30,3 @@
 
 # registry to use
 registry: registry.yaml
-
-# base path
-app_base_path: /vagrant/srv/cxserver/src

-- 
To view, visit https://gerrit.wikimedia.org/r/323506
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifd0a219346e72a1bc65be97d216ec3bf7b53ad67
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: KartikMistry <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to