summaryrefslogtreecommitdiffstats
path: root/src/lib/Options.py
Commit message (Collapse)AuthorAgeFilesLines
* Add bcfg2.conf option so that client can always run in paranoid modeSol Jerome2009-10-141-1/+1
| | | | | | | | | | | You currently must specify the -P command line option in order to run the client in paranoid mode. In order to allow for consistent usage (as specified in ticket #763), this commit adds an option to bcfg2.conf so that the client will always be run in paranoid mode. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5482 ce84e21b-d406-0410-9b95-82705330c041
* Pylint/PEP 8 Code cleanupsSol Jerome2009-10-071-4/+5
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5477 ce84e21b-d406-0410-9b95-82705330c041
* Paranoid mode: Make paranoid mode more versatile/configurableSol Jerome2009-07-181-0/+7
| | | | | | | | | | | | | | | | | This commit adds a new [paranoid] section in bcfg2.conf. This allows you to specify a backup path other than the default as well as set a maximum number of copies to keep around. You are now allowed multiple backup copies, which are marked with a timestamp. This should help to prevent accidental deletion when running in paranoid mode multiple times. The paranoid section currently looks something like this: [paranoid] path = /my/custom/backup/path max_copies = 5 Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5345 ce84e21b-d406-0410-9b95-82705330c041
* Plugin.py: Add configurable metadata settings to bcfg2.conf (ticket #680)Sol Jerome2009-07-011-0/+12
| | | | | | | | | | The default settings for ConfigFile metadata were previously hardcoded in Plugin.py. This change enables setting global user-specified defaults in the [mdata] section of bcfg2.conf. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5308 ce84e21b-d406-0410-9b95-82705330c041
* Options.py: Remove unused variableSol Jerome2009-07-011-1/+0
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5307 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: add complete profiling supportNarayan Desai2009-06-211-1/+1
| | | | | | | | | | Build uniform profiling support for both core startup and individual commands. Also ensure that single shot commands (from argv) work properly. Core profiling (for startup) can be enabled with -p, and individual commands can be profiled by prefixing the profile command, a la: > profile build ubik3 /tmp/ubik3.xml git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5290 ce84e21b-d406-0410-9b95-82705330c041
* Implement -z (for Independent entries only, a la -b) (Resolves Ticket #616)Narayan Desai2009-06-141-2/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5281 ce84e21b-d406-0410-9b95-82705330c041
* SSL: Implememt client-side server cN verificationNarayan Desai2009-05-191-0/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5244 ce84e21b-d406-0410-9b95-82705330c041
* Cleaned up agent mode options and added cmd line options for SSL reworkSol Jerome2009-05-121-20/+14
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5222 ce84e21b-d406-0410-9b95-82705330c041
* Add spacing for longer options in bcfg2 -hSol Jerome2009-05-061-2/+2
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5200 ce84e21b-d406-0410-9b95-82705330c041
* SSL: build appropriate client optionsNarayan Desai2009-05-061-1/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5196 ce84e21b-d406-0410-9b95-82705330c041
* SSL: Setup server optionsNarayan Desai2009-05-061-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5194 ce84e21b-d406-0410-9b95-82705330c041
* More python 2to3 updates along with pylint/code cleanupsSol Jerome2009-04-231-8/+12
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5173 ce84e21b-d406-0410-9b95-82705330c041
* Remove unused imports for pylintSol Jerome2009-04-171-1/+5
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5168 ce84e21b-d406-0410-9b95-82705330c041
* Implement ssl certificate split, in preparation for SSL client cert authNarayan Desai2009-04-081-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5155 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: add option trace file option for profiling modeNarayan Desai2009-03-091-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5113 ce84e21b-d406-0410-9b95-82705330c041
* Implement profiler mode for bcfg2-infoNarayan Desai2009-03-091-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5111 ce84e21b-d406-0410-9b95-82705330c041
* Remove old vcs optionSol Jerome2009-02-191-3/+1
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5085 ce84e21b-d406-0410-9b95-82705330c041
* Update Init.py for new bcfg2.conf layoutSol Jerome2009-02-111-6/+11
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5073 ce84e21b-d406-0410-9b95-82705330c041
* Simplify service configuration; make all services use common restart frameworkNarayan Desai2009-01-231-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5040 ce84e21b-d406-0410-9b95-82705330c041
* Revert accidental svn keyword changes and add minor pylint fixesSol Jerome2009-01-151-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5027 ce84e21b-d406-0410-9b95-82705330c041
* Add support for alternate VCS backendsSol Jerome2009-01-131-3/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5023 ce84e21b-d406-0410-9b95-82705330c041
* Implement metadata connector functionalityNarayan Desai2008-12-241-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5000 ce84e21b-d406-0410-9b95-82705330c041
* Harden file monitoring option handling (Resolves Ticket #611 and reresolves ↵Narayan Desai2008-11-131-1/+1
| | | | | | #536) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4973 ce84e21b-d406-0410-9b95-82705330c041
* Implement client side of server-delegated decision supportNarayan Desai2008-09-241-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4919 ce84e21b-d406-0410-9b95-82705330c041
* Fix helpExit messageSol Jerome2008-09-121-2/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4911 ce84e21b-d406-0410-9b95-82705330c041
* Make file monitor selectableNarayan Desai2008-09-091-1/+2
| | | | | | | Handle child processes more aggressively git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4908 ce84e21b-d406-0410-9b95-82705330c041
* fixed minor issues involving -e and -b in bcfg2-reportsJames Yang2008-08-061-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4864 ce84e21b-d406-0410-9b95-82705330c041
* Implement support for non-configuration pluginsNarayan Desai2008-07-281-0/+2
| | | | | | | | | - 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
* Commit client locking patch (From stousignant) (Resolves Ticket #575)Narayan Desai2008-07-101-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4770 ce84e21b-d406-0410-9b95-82705330c041
* Remove debug prints (Patch from jcollie) (Resolves Ticket #573)Narayan Desai2008-07-081-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4760 ce84e21b-d406-0410-9b95-82705330c041
* Unicode support (from stousignant) (Resolves Ticket #549)Narayan Desai2008-06-301-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4731 ce84e21b-d406-0410-9b95-82705330c041
* Probe data loaded whenever Metadata plugin is usedAndrew Brestick2008-06-201-2/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4702 ce84e21b-d406-0410-9b95-82705330c041
* Fix post-parse help message (Resolves Ticket #555)Narayan Desai2008-06-031-0/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4654 ce84e21b-d406-0410-9b95-82705330c041
* auto-reformat server fingerprint if needed (Resolves Ticket #546)Narayan Desai2008-04-251-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4560 ce84e21b-d406-0410-9b95-82705330c041
* Fix option description for multi-fingerprintNarayan Desai2008-04-011-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4465 ce84e21b-d406-0410-9b95-82705330c041
* Fix Options (don't cook default values) (needed for the multi-fingerprint patch)Narayan Desai2008-03-311-21/+26
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4463 ce84e21b-d406-0410-9b95-82705330c041
* Fix help display for long optionsNarayan Desai2008-03-161-2/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4421 ce84e21b-d406-0410-9b95-82705330c041
* implement support for long optionsNarayan Desai2008-03-081-4/+21
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4404 ce84e21b-d406-0410-9b95-82705330c041
* Fix colon splitting for null cases (Reported by SolJ)Narayan Desai2008-02-091-1/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4348 ce84e21b-d406-0410-9b95-82705330c041
* Finish fixing option parsing for bcfg2-repo-validateNarayan Desai2008-01-181-5/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4265 ce84e21b-d406-0410-9b95-82705330c041
* Fix bundle modeNarayan Desai2008-01-171-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4252 ce84e21b-d406-0410-9b95-82705330c041
* Implement support for -b foo:bar:baz on the command line (Resolves Ticket #516)Narayan Desai2008-01-161-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4244 ce84e21b-d406-0410-9b95-82705330c041
* Fix handling of password optionNarayan Desai2008-01-081-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4204 ce84e21b-d406-0410-9b95-82705330c041
* add options for bcfg2-remoteNarayan Desai2008-01-081-0/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4201 ce84e21b-d406-0410-9b95-82705330c041
* handle arguments properlyNarayan Desai2008-01-081-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4195 ce84e21b-d406-0410-9b95-82705330c041
* Add support for command line args as well as optionsNarayan Desai2007-12-311-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4153 ce84e21b-d406-0410-9b95-82705330c041
* unify default config location settingsNarayan Desai2007-12-311-2/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4151 ce84e21b-d406-0410-9b95-82705330c041
* Fix opt args for client (again)Narayan Desai2007-12-311-17/+17
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4150 ce84e21b-d406-0410-9b95-82705330c041
* Fix client optargsNarayan Desai2007-12-311-11/+17
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4149 ce84e21b-d406-0410-9b95-82705330c041