Updated Branches:
  refs/heads/trunk 6fd7a3281 -> e3198304f

AMBARI-3055. rrd.py script does not follow symlinks for looking at all the rrd 
files. (mahadev)


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

Branch: refs/heads/trunk
Commit: e3198304fc829bd326964019dd8206af67933138
Parents: 6fd7a32
Author: Mahadev Konar <[email protected]>
Authored: Thu Sep 5 18:45:12 2013 -0700
Committer: Mahadev Konar <[email protected]>
Committed: Thu Sep 5 18:45:12 2013 -0700

----------------------------------------------------------------------
 ambari-agent/src/main/puppet/modules/hdp-ganglia/files/rrd.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/e3198304/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/rrd.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/rrd.py 
b/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/rrd.py
index 3cf606b..7cb06e7 100644
--- a/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/rrd.py
+++ b/ambari-agent/src/main/puppet/modules/hdp-ganglia/files/rrd.py
@@ -140,7 +140,7 @@ else:
   pointInTime = False
 
 for cluster in clusterParts:
-  for path, dirs, files in os.walk(rrdPath + cluster):
+  for path, dirs, files in os.walk(rrdPath + cluster,followlinks=True):
     pathParts = path.split("/")
     if len(hostParts) == 0 or pathParts[-1] in hostParts:
       for file in files:

Reply via email to