Repository: incubator-stratos Updated Branches: refs/heads/master 548537d93 -> 6fd2b5d92
fixing the installation order of nodejs Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/6fd2b5d9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/6fd2b5d9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/6fd2b5d9 Branch: refs/heads/master Commit: 6fd2b5d926816a7b0ce9961333f0801c801f484a Parents: 548537d Author: Nirmal Fernando <[email protected]> Authored: Tue Feb 25 19:21:19 2014 +0530 Committer: Nirmal Fernando <[email protected]> Committed: Tue Feb 25 19:21:19 2014 +0530 ---------------------------------------------------------------------- tools/puppet3/manifests/nodes.pp | 4 ++-- tools/puppet3/modules/agent/templates/bin/stratos.sh.erb | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fd2b5d9/tools/puppet3/manifests/nodes.pp ---------------------------------------------------------------------- diff --git a/tools/puppet3/manifests/nodes.pp b/tools/puppet3/manifests/nodes.pp index 152001b..cbcccd0 100644 --- a/tools/puppet3/manifests/nodes.pp +++ b/tools/puppet3/manifests/nodes.pp @@ -93,7 +93,7 @@ node /nodejs/ inherits base { class {'nodejs':} #install agent before nodejs - Class['agent'] ~> Class['nodejs'] + Class['nodejs'] ~> Class['agent'] } # haproxy extension loadbalancer cartridge node @@ -109,7 +109,7 @@ node /ruby/ inherits base { class {'agent': } class {'ruby':} -# Class['agent'] ~> Class['ruby'] +# Class['ruby'] ~> Class['agent'] } #wordpress cartridge node http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fd2b5d9/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 ec70699..825b82d 100644 --- a/tools/puppet3/modules/agent/templates/bin/stratos.sh.erb +++ b/tools/puppet3/modules/agent/templates/bin/stratos.sh.erb @@ -36,6 +36,8 @@ properties="-Dmb.ip=<%= @mb_ip %> -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 -DAPP_PATH=<%= @docroot %>" # Uncomment below line to enable remote debugging @@ -43,3 +45,4 @@ properties="-Dmb.ip=<%= @mb_ip %> /opt/java/bin/java -cp "${class_path}" ${properties} ${debug} org.apache.stratos.cartridge.agent.Main +
