ソースを参照

AMBARI-236. Increase puppet agent timeout by Richard

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/ambari-186@1338521 13f79535-47bb-0310-9956-ffa450edef68
Suhas 13 年 前
コミット
e02c2a0639
2 ファイル変更3 行追加1 行削除
  1. 2 0
      CHANGES.txt
  2. 1 1
      hmc/ShellScripts/puppet_agent_install.sh

+ 2 - 0
CHANGES.txt

@@ -2,6 +2,8 @@ Ambari Change log
 
 Release 0.x.x - unreleased
 
+  AMBARI-236. Increase puppet agent timeout. (Jitendra Pandey via vgogate)
+
   AMBARI-235. Ordering problem when using hdp-ganglia::monitor_and_server (Richard Pelavin by vgogate)
 
   AMBARI-234. Typo in javascript (vikran Dixit via vgogate)

+ 1 - 1
hmc/ShellScripts/puppet_agent_install.sh

@@ -85,7 +85,7 @@ fi
 #TODO clean this up for better fix. For now make sure we stop puppet agent. The issue here is we do not know if we started this puppet agent during our run or not.
 out=`service puppet stop`
 ret=$?
-out=`puppet agent --verbose --confdir=/etc/puppet/agent --listen --runinterval 5 --server $master --report --no-client --waitforcert 10 --debug --logdest=/var/log/puppet_agent.log --httplog /var/log/puppet_agent_http.log --autoflush 2>&1`
+out=`puppet agent --verbose --confdir=/etc/puppet/agent --listen --runinterval 5 --server $master --report --no-client --waitforcert 10 --configtimeout 600 --debug --logdest=/var/log/puppet_agent.log --httplog /var/log/puppet_agent_http.log --autoflush 2>&1`
 ret=$?
 if [[ "$ret" != "0" ]]; then
   echo "$host:_ERROR_:retcode:[$ret], CMD:[$pp_cmd]: OUT:[$out]" >&2