Hi,

I found this discrepancy in "agent" Puppet module's start.pp script [1].

exec { "starting_${name}":
    user    => $owner,
    path    =>
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/java/bin/',
    unless  => "test -f ${target}/wso2carbon.lck",
    cwd     => "${target}/bin/",
    command => "touch ${target}/wso2carbon.lck; bash stratos.sh > /dev/null
2>&1 &",
  }

The above command "bash stratos.sh" seems to be wrong. Shouldn't it include
the path to Stratos agent like follows;

${target}/bin/stratos.sh > /dev/null 2>&1 &

Pl confirm. Thanks.

[1] -
https://github.com/apache/incubator-stratos/blob/master/tools/puppet3/modules/agent/manifests/start.pp#L26

-- 
Akila Ravihansa Perera
Software Engineer
WSO2 Inc.
http://wso2.com

Phone: +94 77 64 154 38
Blog: http://ravihansa3000.blogspot.com

Reply via email to