We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4893a2f commit ba45f15Copy full SHA for ba45f15
lib/host.py
@@ -482,6 +482,10 @@ def get_last_yum_history_tid(self):
482
except ValueError:
483
raise Exception('Unable to parse correctly last yum history tid. Output:\n' + history_str)
484
485
+ def yum_downgrade(self, packages):
486
+ logging.info('Downgrade packages: %s on host %s' % (' '.join(packages), self))
487
+ return self.ssh(['yum', 'downgrade', '-y'] + packages)
488
+
489
def yum_install(self, packages, enablerepo=None):
490
logging.info('Install packages: %s on host %s' % (' '.join(packages), self))
491
enablerepo_cmd = ['--enablerepo=%s' % enablerepo] if enablerepo is not None else []
0 commit comments