Authored by root

Add emr scanner

@@ -104,7 +104,6 @@ class EMRClusterScanner(object): @@ -104,7 +104,6 @@ class EMRClusterScanner(object):
104 def gitUpdate(self): 104 def gitUpdate(self):
105 cmd = 'cd /opt/projects/yoho-ansible-roles/;git pull;git add {0};git commit -m "Update bigdata inventory file"; git push'.format(self.inventoryFile) 105 cmd = 'cd /opt/projects/yoho-ansible-roles/;git pull;git add {0};git commit -m "Update bigdata inventory file"; git push'.format(self.inventoryFile)
106 os.popen(cmd) 106 os.popen(cmd)
107 - time.sleep(20)  
108 return True 107 return True
109 108
110 def updateEMRInventory(self): 109 def updateEMRInventory(self):