Repository: incubator-stratos
Updated Branches:
  refs/heads/master 3d526faa1 -> 81a1c06c8


synching latest agent script with puppet template


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/fc485883
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/fc485883
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/fc485883

Branch: refs/heads/master
Commit: fc4858834b61132eba51c116f60d99af4497a3d7
Parents: 3d526fa
Author: Nirmal Fernando <[email protected]>
Authored: Sat Mar 29 19:48:20 2014 +0530
Committer: Nirmal Fernando <[email protected]>
Committed: Sat Mar 29 19:48:20 2014 +0530

----------------------------------------------------------------------
 tools/puppet3/modules/agent/templates/bin/stratos.sh.erb | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fc485883/tools/puppet3/modules/agent/templates/bin/stratos.sh.erb
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/agent/templates/bin/stratos.sh.erb 
b/tools/puppet3/modules/agent/templates/bin/stratos.sh.erb
index 8be122a..02814f9 100644
--- a/tools/puppet3/modules/agent/templates/bin/stratos.sh.erb
+++ b/tools/puppet3/modules/agent/templates/bin/stratos.sh.erb
@@ -26,6 +26,7 @@ lib_path=${script_path}/../lib/
 class_path=`echo ${lib_path}/*.jar | tr ' ' ':'`
 properties="-Dmb.ip=<%= @mb_ip %>
             -Dmb.port=<%= @mb_port %>
+            -Dlisten.address=localhost
             -Dthrift.receiver.ip=<%= @cep_ip %>
             -Dthrift.receiver.port=<%= @cep_port %>
             -Djndi.properties.template.file.path=<%= @carbon_home 
%>/conf/templates/jndi.properties.template
@@ -33,12 +34,17 @@ properties="-Dmb.ip=<%= @mb_ip %>
             -Dlog4j.properties.file.path=<%= @carbon_home 
%>/conf/log4j.properties
             -Dparam.file.path=<%= @carbon_home %>/payload/launch-params
             -Dextensions.dir=${script_path}/../extensions
-            -Dagent.flow.file.path=${script_path}/../conf/agent-flow.conf
             -Dcep.stats.publisher.enabled=true
             -Djavax.net.ssl.trustStore=<%= @carbon_home 
%>/security/client-truststore.jks
             -Djavax.net.ssl.trustStorePassword=<%= @truststore_password %>
            -Denable.artifact.update=true
            -Dartifact.update.interval=15
+           -Denable.data.publisher=<%= @enable_log_publisher %>
+            -Dmonitoring.server.ip=<%= @bam_ip %>
+            -Dmonitoring.server.port=<%= @bam_port %>
+            -Dmonitoring.server.secure.port=<%= @bam_secure_port %>
+            -Dmonitoring.server.admin.username=<%= @bam_username %>
+            -Dmonitoring.server.admin.password=<%= @bam_password %>
            -DAPP_PATH=<%= @docroot %>"
 
 # Uncomment below line to enable remote debugging

Reply via email to