- def install_plugins(self):
- log('Installing Fuel Plugins')
- if self.plugins_dir and os.path.isdir(self.plugins_dir):
- for f in glob.glob('%s/*.rpm' % self.plugins_dir):
- log('Found plugin %s, installing ...' % f)
- r, c = exec_cmd('fuel plugins --install %s' % f, False)
- if c > 0 and 'does not update installed package' not in r:
- err('Installation of Fuel Plugin %s failed' % f)
-