summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2
Commit message (Collapse)AuthorAgeFilesLines
* Options: migrated client to new parserChris St. Pierre2013-06-271-22/+4
|
* Options: split loading a new OptionParser from fetching an existing parserChris St. Pierre2013-01-171-2/+2
|
* added module-level OptionParser to avoid passing it as an argument or global ↵Chris St. Pierre2013-01-171-4/+3
| | | | all over
* fixed tests on new client classChris St. Pierre2012-10-171-1/+1
|
* added bcfg2_local.py, a tool to run bcfg2 against a local specificationChris St. Pierre2012-10-171-332/+12
|
* fixed missing error when probe download failsChris St. Pierre2012-10-031-0/+1
|
* made client runs abort on probe failure, added option to disable thatChris St. Pierre2012-09-281-114/+133
|
* renamed Bcfg2Py3k to CompatChris St. Pierre2012-08-271-1/+1
|
* fixed xml stringification in core, bcfg2Chris St. Pierre2012-08-211-2/+2
|
* fixed broken XML-RPC retries, made delay configurableChris St. Pierre2012-08-201-8/+11
|
* py3k xml fixesChris St. Pierre2012-08-201-5/+3
|
* fixed bug with setting debug level in clientChris St. Pierre2012-08-161-2/+2
|
* made logging levels more consistent in a few placesChris St. Pierre2012-08-151-5/+6
|
* made logging to syslog configurable and default for all loggingChris St. Pierre2012-08-151-5/+11
|
* Revert "removed Bcfg2.Client.XML abstraction layer since we depend directly ↵Chris St. Pierre2012-08-061-16/+16
| | | | | | on lxml.etree" This reverts commit 913d320ee02d5e16b61a14d97b2b1111d307d0d3.
* removed Bcfg2.Client.XML abstraction layer since we depend directly on ↵Chris St. Pierre2012-08-031-16/+16
| | | | lxml.etree
* made -B (skip bundle) mode work with -Q (bundle-quick mode)Chris St. Pierre2012-07-201-3/+6
|
* added feature to allow clients to declare their version to serverChris St. Pierre2012-07-111-0/+20
|
* added selinux supportChris St. Pierre2012-07-031-33/+1
|
* added -B (skip bundles) and -Z (skip independent) optionsChris St. Pierre2012-06-061-2/+6
|
* minor option cleanupChris St. Pierre2012-06-011-6/+8
|
* fixed typoChris St. Pierre2012-06-011-36/+35
|
* fixed option group stuffChris St. Pierre2012-05-211-1/+1
|
* added option groupsChris St. Pierre2012-05-211-50/+36
|
* Remove svn keywordsSol Jerome2012-02-191-1/+0
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* implemented something like service removal (#1075)Chris St. Pierre2012-01-241-1/+1
|
* made error handling from bcfg2 client more consistent; avoid someChris St. Pierre2011-11-231-26/+28
| | | | backtraces
* bcfg2: Catch tracebacks (Tickets #1016 and #1017)Sol Jerome2011-06-211-0/+8
| | | | | | | This also moves the exception handling added in #1012 to the bcfg2 code for consistency (as per Holger Weiß's suggestion). Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* added -t option to set client timeoutChris St. Pierre2011-06-011-4/+6
|
* Revert "bcfg2: Write cached config using encoding from Options.py"Holger Weiß2011-05-191-1/+1
| | | | | | | | | | | This reverts commit 5d69ff7e966c4ffa911c78d11a6879b48e90aef8. As the "rawconfig" variable now holds a UTF-8 encoded string, it would have to be decoded before re-encoding it using a different encoding. However, the cached configuration shouldn't be written using a non-UTF-8 encoding anyway, as "bcfg2 -f <configuration>" currently doesn't accept any other encodings. (If this is to be changed, the XML encoding declaration of the configuration would have to be adjusted accordingly.)
* bcfg2: Convert specification from Unicode to UTF-8Holger Weiß2011-05-111-1/+1
| | | | | | | | | The client receives the configuration specification as a Unicode string and then hands it over to the XML() function, which expects a UTF-8 encoded string. Therefore, the configuration specification is now converted to UTF-8. Resolves ticket #1009.
* bcfg2: Fix typosSol Jerome2011-04-291-2/+2
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> (cherry picked from commit beb08649193f2c799017024bb738dc31b3420cb2)
* src/sbin: Add full PY3K compatibilitySol Jerome2011-04-271-7/+15
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Fix the bcfg2 client -r optionJonathan Billings2011-04-251-1/+6
| | | | | | | The man page for 'bcfg2' says to use -r 'all', 'Service' or 'Package', but the code only responded to -r 'all', 'service' or 'package'. Update the client to allow 'all', 'service', 'Service', 'package' and 'Package'.
* Bcfg2: handle server strings that don't start with https:// (Resolves Ticket ↵Narayan Desai2011-01-121-0/+2
| | | | #975)
* bcfg2 client: implement bundle-quick modeNarayan Desai2010-12-081-2/+15
|
* bcfg2: fix fatal_error on 2.5+ (approach from ↵Narayan Desai2010-09-261-1/+1
| | | | | | https://me.yahoo.com/a/2SlxL.p_rsQD.KxOt3q32tWWsQ--#39bec) (Resolves #915) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6061 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2: Add back the new SSL key options (Fixes Ticket #916)Sol Jerome2010-08-141-3/+4
| | | | | | | | | | The man page no longer contains the -K option mentioned in Ticket #908. This has been removed since [6013]. We still need the key option available in the client to prevent Ticket #916. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6021 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2: fix option parsing for ssl key (Resolves Ticket #908)Narayan Desai2010-08-111-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6010 ce84e21b-d406-0410-9b95-82705330c041
* Harmonised log messagesFabian Affolter2010-08-111-10/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6006 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257 Fabian Affolter2010-06-211-4/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5952 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257Fabian Affolter2010-06-071-5/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5895 ce84e21b-d406-0410-9b95-82705330c041
* Options.py: Add configurable lockfile option (Resolves Ticket #850)Sol Jerome2010-02-201-3/+3
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5734 ce84e21b-d406-0410-9b95-82705330c041
* Code cleanupsSol Jerome2009-12-301-5/+5
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5648 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2: Write cached config using encoding from Options.pySol Jerome2009-08-031-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5399 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2: handle errors in lockfile unlockingNarayan Desai2009-07-231-2/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5377 ce84e21b-d406-0410-9b95-82705330c041
* Implement -z (for Independent entries only, a la -b) (Resolves Ticket #616)Narayan Desai2009-06-141-0/+1
| | | | 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-2/+3
| | | | 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/+11
| | | | | | 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
* remove dependence on old daemonize codeNarayan Desai2009-05-071-15/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5212 ce84e21b-d406-0410-9b95-82705330c041