summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client/Tools/Dummy.py
blob: 9a96eb904d721aebbfb5317dafb0319bd72a418b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""This is the Bcfg2 tool for the Dummy package system."""

import re
import Bcfg2.Client.Tools


class Dummy(Bcfg2.Client.Tools.PkgTool):
    __handles__ = [('Package', 'dummy')]
    __req__ = {'Package': []}
    pkgtype = 'dummy'

    def RefreshPackages(self):
        pass

    def VerifyPackage(self, _entry, _):
        return True