keith-turner commented on a change in pull request #339: Fix wipe command for
cluster_type 'existing'
URL: https://github.com/apache/fluo-muchos/pull/339#discussion_r407569493
##########
File path: lib/muchos/existing.py
##########
@@ -217,6 +217,13 @@ def send_to_proxy(self, path, target,
skip_if_exists=True):
cmd=cmd, src=path, usr=self.config.get('general', 'cluster_user'),
ldr=self.config.get_proxy_ip(),
tdir=target), shell=True)
+ def wipe(self):
+ if not isfile(self.config.hosts_path):
Review comment:
Nice improvement brining this in one place so all implementations benefit.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services