diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2015-02-07 18:54:28 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2015-02-07 19:49:48 +0100 |
commit | cc4af9966238a6d958b3248e45f3c302d8ba9026 (patch) | |
tree | 8c99f11c5dc3b71c8db9b1d2ba7ad7eb122571fb /src/lib/Bcfg2/Client | |
parent | ea9bab9500eda7dcc247c19a8aa108dc9e7d709e (diff) | |
download | bcfg2-cc4af9966238a6d958b3248e45f3c302d8ba9026.tar.gz bcfg2-cc4af9966238a6d958b3248e45f3c302d8ba9026.tar.bz2 bcfg2-cc4af9966238a6d958b3248e45f3c302d8ba9026.zip |
Add Dummy packages backend and client tool to ignore all packages.v1.4.0pre1-spline13
Diffstat (limited to 'src/lib/Bcfg2/Client')
-rw-r--r-- | src/lib/Bcfg2/Client/Tools/Dummy.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Client/Tools/Dummy.py b/src/lib/Bcfg2/Client/Tools/Dummy.py new file mode 100644 index 000000000..9a96eb904 --- /dev/null +++ b/src/lib/Bcfg2/Client/Tools/Dummy.py @@ -0,0 +1,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 |