- def upload_plugin_files(self):
- with self.ssh as s:
- s.exec_cmd('rm -rf %s' % PLUGINS_DIR, False)
- s.exec_cmd('mkdir %s' % PLUGINS_DIR)
- if self.fuel_plugins_dir:
- for f in glob.glob('%s/*.rpm' % self.fuel_plugins_dir):
- s.scp_put(f, PLUGINS_DIR)
-