def deploy(self, force=True): """ Copies the yaml file from etc in the distribution to the .cloudmesh directory. If the file exits it will not be copied and a warning is thrown. If the file is the same as in etc no warning is thrown. :param force: Forgot what this does, please document. """ # setup ~/.cloudmesh/pbs log.debug(self.pbs_dir) if not os.path.isdir(self.pbs_dir): os.makedirs(self.pbs_dir) self._load_jobid() xcopy("../etc/", config_file(""), "*.yaml", force=force)
def deploy(force=True): """copies the yaml file from etc in the distribution to the .cloudmesh directory. If the file exits it will not be copied and a warning is thrown. If the file is the same as in etc no warning is thrown. """ xcopy("../etc/", "~/.cloudmesh", "*.yaml", force=force)