summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-info
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-07-28 18:48:11 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-07-28 18:48:11 +0000
commit83b60a48456c8d3efe90b5593d80323e435f2426 (patch)
tree7d4847a47223580ea3c0c9d05e7b0609ed57aa1a /src/sbin/bcfg2-info
parent011d38cd29880942c7049edd95078c41761c49cb (diff)
downloadbcfg2-83b60a48456c8d3efe90b5593d80323e435f2426.tar.gz
bcfg2-83b60a48456c8d3efe90b5593d80323e435f2426.tar.bz2
bcfg2-83b60a48456c8d3efe90b5593d80323e435f2426.zip
Implement support for non-configuration plugins
- add new configuration option - switch all callers over to new Core api - fork RecvStats when DBStats is in use git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4831 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin/bcfg2-info')
-rwxr-xr-xsrc/sbin/bcfg2-info11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info
index df278ed92..aca9895db 100755
--- a/src/sbin/bcfg2-info
+++ b/src/sbin/bcfg2-info
@@ -295,6 +295,7 @@ if __name__ == '__main__':
}
optinfo.update({'repo': Bcfg2.Options.SERVER_REPOSITORY,
'svn': Bcfg2.Options.SERVER_SVN,
+ 'plugins': Bcfg2.Options.SERVER_PLUGINS,
'structures': Bcfg2.Options.SERVER_STRUCTURES,
'generators': Bcfg2.Options.SERVER_GENERATORS,
'password': Bcfg2.Options.SERVER_PASSWORD,
@@ -303,11 +304,13 @@ if __name__ == '__main__':
setup = Bcfg2.Options.OptionParser(optinfo)
setup.parse(sys.argv[1:])
if "-d" in sys.argv:
- loop = infoCore(setup['repo'], setup['structures'], setup['generators'],
- setup['password'], setup['svn'], setup['encoding'], True)
+ loop = infoCore(setup['repo'], setup['plugins'], setup['structures'],
+ setup['generators'], setup['password'], setup['svn'],
+ setup['encoding'], True)
else:
- loop = infoCore(setup['repo'], setup['structures'], setup['generators'],
- setup['password'], setup['svn'], setup['encoding'], False)
+ loop = infoCore(setup['repo'], setup['plugins'], setup['structures'],
+ setup['generators'], setup['password'], setup['svn'],
+ setup['encoding'], False)
if "args" in setup and setup['args']:
loop.onecmd(" ".join(setup['args']))
raise SystemExit(0)