def enable_yum_priority_obsoletes(path="/etc/yum/pluginconf.d/priorities.conf"):
    config = ConfigParser.ConfigParser()
    config.read(path)
    config.set('main', 'check_obsoletes', '1')
    with open(path, 'wb') as fout:
        config.write(fout)


# remoto magic, needed to execute these functions remotely
Adds zorna context variables to the context.
dataset/ETHPy150Open ceph/ceph-deploy/ceph_deploy/hosts/remotes.py/enable_yum_priority_obsoletes--crossover with--dataset/ETHPy150Open zorna/zorna/zorna/context_processors.py/zsettings