summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Core.py
Commit message (Collapse)AuthorAgeFilesLines
* testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-261-2/+2
|
* Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-251-0/+4
| | | | | | | | | * Where possible, create the file or directory that is about to be monitored. This ensures that content can be added later without need to restart Bcfg2. (Otherwise, adding the monitor would fail, and so when you did create the file in question, bcfg2-server would never be notified of it.) * When not possible, give better error messages.
* Logger: set log handler names in a py <2.6 compatible wayChris St. Pierre2013-03-221-3/+2
|
* more debugging fixesChris St. Pierre2013-03-211-1/+1
|
* fixed various debugging bitsChris St. Pierre2013-03-211-1/+1
|
* fixed unit testsChris St. Pierre2013-03-211-1/+0
|
* Merge branch '1.3.2' into maintChris St. Pierre2013-03-211-8/+85
|\ | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Tools/__init__.py src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIXUsers.py testsuite/Testsrc/test_code_checks.py
| * Debug improvements:Chris St. Pierre2013-03-191-7/+64
| | | | | | | | | | | | * Added (set|toggle)_core_debug RMI methods to set debugging in the core * Enable plugin debugging when run with -d * Allow enabling debugging on Reporting plugin before threads have started
| * Core: added more debug logging for core methodsChris St. Pierre2013-03-191-1/+21
| |
* | more consistent XML-RPC debug calls for FAMChris St. Pierre2013-03-211-4/+10
| |
* | added XML-RPC RMI capabilities to FileMonitor objectsChris St. Pierre2013-03-211-4/+6
| |
* | Core: properly handle Ctrl-CChris St. Pierre2013-02-251-4/+13
|/
* Core: deduplicated some error handling codeChris St. Pierre2013-02-081-9/+7
|
* get VCS revision in a more resilient wayChris St. Pierre2013-02-011-5/+19
|
* replace unintuitive reduce() calls with slightly less unintuitive chain() callsChris St. Pierre2013-01-081-4/+4
|
* Threaded plugin fixes:Chris St. Pierre2012-11-271-2/+8
| | | | | | | * Added "Threaded" plugin interface for any plugin that uses threads * Start plugin threads after daemonization * Update existing plugins that use threads (Reporting, Snapshots, ThreadedStatistics interface) * Update unit tests
* fixed core syncdb in non-daemon contexts (e.g., bcfg2-info)Chris St. Pierre2012-11-261-6/+7
|
* when a new sqlite database is created for reporting, set appropriate permissionsChris St. Pierre2012-11-261-7/+28
|
* create pidfile directory with correct permsChris St. Pierre2012-11-191-1/+1
|
* documented new core debug RMIsChris St. Pierre2012-11-161-1/+35
|
* added set_debug RMI for plugins and core, set_fam_debug RMIChris St. Pierre2012-11-161-0/+10
|
* Core: added toggle_debug RMI to toggle all debug modes on running serverChris St. Pierre2012-11-161-0/+6
|
* FAM: allow toggling FAM debug by RMI on running serverChris St. Pierre2012-11-161-0/+4
|
* set default umask for server, added option to change itChris St. Pierre2012-11-141-0/+2
|
* don't pass full stack traces to client on bind failureChris St. Pierre2012-11-131-1/+1
|
* fixed repeat processing of probe dataChris St. Pierre2012-10-291-9/+10
|
* Core: populate sources listTim Laszlo2012-10-291-0/+1
|
* Probes/DatabaseBackend: add a thread lock for databases that cannot handle ↵Tim Laszlo2012-10-261-0/+3
| | | | multiple writes
* build metadata when setting client version so setting version of a new ↵Chris St. Pierre2012-10-261-1/+1
| | | | client doesn't fail
* exit gracefully when FAM startup failsChris St. Pierre2012-10-221-3/+7
|
* wrote sphinx docs for base server CoreChris St. Pierre2012-10-151-72/+373
|
* moved track_statistics to plugin helpers to make it usable by pluginsChris St. Pierre2012-10-101-27/+3
|
* added module-level Bcfg2.Statistics object for easier trackingChris St. Pierre2012-10-101-12/+15
|
* create directory containing pidfile in bcfg2-server itselfChris St. Pierre2012-10-091-0/+12
|
* fix pylint unit test errorsChris St. Pierre2012-10-091-5/+6
|
* Reporting: Merge new reporting dataTim Laszlo2012-10-081-17/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move reporting data to a new schema Use south for django migrations Add bcfg2-report-collector daemon Conflicts: doc/development/index.txt doc/server/plugins/connectors/properties.txt doc/server/plugins/generators/packages.txt setup.py src/lib/Bcfg2/Client/Tools/SELinux.py src/lib/Bcfg2/Compat.py src/lib/Bcfg2/Encryption.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Init.py src/lib/Bcfg2/Server/Admin/Reports.py src/lib/Bcfg2/Server/BuiltinCore.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/FileMonitor/Inotify.py src/lib/Bcfg2/Server/Plugin/base.py src/lib/Bcfg2/Server/Plugin/interfaces.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py src/lib/Bcfg2/Server/Plugins/FileProbes.py src/lib/Bcfg2/Server/Plugins/Ohai.py src/lib/Bcfg2/Server/Plugins/Packages/Collection.py src/lib/Bcfg2/Server/Plugins/Packages/Source.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Packages/__init__.py src/lib/Bcfg2/Server/Plugins/Probes.py src/lib/Bcfg2/Server/Plugins/Properties.py src/lib/Bcfg2/Server/Reports/backends.py src/lib/Bcfg2/Server/Reports/manage.py src/lib/Bcfg2/Server/Reports/nisauth.py src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt src/sbin/bcfg2-yum-helper testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestSEModules.py
* moved pidfile creation into the server backendsChris St. Pierre2012-09-251-2/+1
|
* various pylint fixesChris St. Pierre2012-09-251-1/+1
|
* expanded pylint testsChris St. Pierre2012-09-251-44/+93
|
* run pylint for errors on almost everything, full runs on some selected stuffChris St. Pierre2012-09-251-7/+3
|
* fixed gamin issues with late daemonizationChris St. Pierre2012-09-181-2/+5
|
* added server-side client metadata object cachingChris St. Pierre2012-09-051-10/+50
|
* updated various scripts/components to reflect updated Core invocation for ↵Chris St. Pierre2012-09-051-6/+4
| | | | thread-safety
* Core: fixed threading issues preventing successful daemonization of builtin coreChris St. Pierre2012-09-041-26/+24
|
* Core: collect more performance statisticsChris St. Pierre2012-08-301-26/+70
|
* made bcfg2-admin perf work againChris St. Pierre2012-08-291-0/+7
|
* Bcfg2.settings: Fixed config file reading:Chris St. Pierre2012-08-281-2/+1
| | | | | | | | | | | | | | | | | | | | * If -W is given on the command line, the config file given by -W is read. * If /etc/bcfg2-web.conf does not exist, and -C was given on the command line, the config file given by -C is read. * If /etc/bcfg2-web.conf does not exist and -C was not given on the command line, the default /etc/bcfg2.conf is read. * If /etc/bcfg2-web.conf exists, and neither -W nor -C was given on the command line, then /etc/bcfg2-web.conf is read. This will produce errors if: * A bogus (non-existent, unreadable) file was given by -W; or * A bogus file was given by -C and /etc/bcfg2-web.conf does not exist; or * No -W was given and /etc/bcfg2-web.conf exists but is unreadable; or * No -W was given, /etc/bcfg2-web.conf does not exist, and /etc/bcfg2.conf is bogus.
* renamed Bcfg2Py3k to CompatChris St. Pierre2012-08-271-1/+1
|
* removed or fixed functools importsChris St. Pierre2012-08-231-4/+1
|
* fixed xml stringification in core, bcfg2Chris St. Pierre2012-08-211-2/+4
|