summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-04-10 20:15:20 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-04-10 20:15:20 +0000
commit2ee512083e61535cc89d456a00aa8374618ef6df (patch)
treeaa9d61fab9928dc31f4a6d265b8877cb7163ec15
parent4521ebcfcf106db5a67cf126bf94d0cd987cebc4 (diff)
downloadbcfg2-2ee512083e61535cc89d456a00aa8374618ef6df.tar.gz
bcfg2-2ee512083e61535cc89d456a00aa8374618ef6df.tar.bz2
bcfg2-2ee512083e61535cc89d456a00aa8374618ef6df.zip
Add the rules plugin (for Ti)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1828 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Plugins/Rules.py10
-rw-r--r--src/lib/Server/Plugins/__init__.py2
2 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Rules.py b/src/lib/Server/Plugins/Rules.py
new file mode 100644
index 000000000..8fc5bbd70
--- /dev/null
+++ b/src/lib/Server/Plugins/Rules.py
@@ -0,0 +1,10 @@
+'''This generator provides service mappings'''
+__revision__ = '$Revision$'
+
+import Bcfg2.Server.Plugin
+
+class Rules(Bcfg2.Server.Plugin.PrioDir):
+ '''This is a generator that handles service assignments'''
+ __name__ = 'Rules'
+ __version__ = '$Id$'
+ __author__ = 'bcfg-dev@mcs.anl.gov'
diff --git a/src/lib/Server/Plugins/__init__.py b/src/lib/Server/Plugins/__init__.py
index 70de96d7e..cbabf0ca5 100644
--- a/src/lib/Server/Plugins/__init__.py
+++ b/src/lib/Server/Plugins/__init__.py
@@ -1,4 +1,4 @@
'''imports for Bcfg2.Server.Plugins'''
__revision__ = '$Revision$'
-all = ['Account', 'Base', 'Bundler', 'Cfg', 'Chiba', 'Hostbase', 'Pkgmgr', 'SSHbase', 'Svcmgr', 'Vhost']
+all = ['Account', 'Base', 'Bundler', 'Cfg', 'Chiba', 'Hostbase', 'Pkgmgr', 'Rules', 'SSHbase', 'Svcmgr', 'Vhost']