summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-yum-helper
blob: 95fb9889edfdc6814f9532e822e0d3a0ab473bc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python
""" Helper script for the Packages plugin, used if yum library support
is enabled.  The yum libs have horrific memory leaks, so apparently
the right way to get around that in long-running processes it to have
a short-lived helper.  No, seriously -- check out the yum-updatesd
code.  It's pure madness. """

import sys
from Bcfg2.Server.Plugins.Packages.YumHelper import CLI

if __name__ == '__main__':
    sys.exit(CLI().run())