summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server
Commit message (Collapse)AuthorAgeFilesLines
* Multiprocessing: stringify server core safely before options are parsedChris St. Pierre2013-11-131-2/+6
|
* NagiosGen: Sort the hostgroup listStéphane Graber2013-11-121-1/+1
| | | | This prevents the hostgroup list from flipping at random.
* Merge branch 'maint'Chris St. Pierre2013-11-123-9/+11
|\ | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Admin/Reports.py src/lib/Bcfg2/Server/Hostbase/hostbase/urls.py src/lib/Bcfg2/Server/Hostbase/urls.py src/sbin/bcfg2-crypt tools/upgrade/1.3/migrate_dbstats.py
| * Fix compatibility with Django 1.6.Simon Ruderich2013-11-114-8/+10
| |
* | Multiprocessing: Added missing Queue back in, merge failChris St. Pierre2013-11-121-1/+1
| |
* | bcfg2-crypt: Avoid duplicate decrypt/encrypt when auto-determining modeChris St. Pierre2013-11-121-5/+7
| |
* | bcfg2-crypt: Fixed several bugs in autodetection of encrypt/decrypt modeChris St. Pierre2013-11-121-41/+58
| |
* | Merge branch 'maint'Chris St. Pierre2013-11-113-32/+51
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Admin/Compare.py src/lib/Bcfg2/Server/Admin/Snapshots.py src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugins/Probes.py src/sbin/bcfg2-crypt src/sbin/bcfg2-reports tools/upgrade/1.3/migrate_configs.py tools/upgrade/1.3/migrate_perms_to_mode.py
| * Probes: automatically remove duplicate probe dataChris St. Pierre2013-11-111-3/+10
| |
| * Multiprocessing: removed unused importChris St. Pierre2013-11-061-1/+1
| |
| * Multiprocessing: don't reuse child RPC listenersChris St. Pierre2013-11-051-26/+7
| |
| * Admin: Don't call dead Mode.__call__ codeMichael Fenn2013-11-052-2/+0
| | | | | | | | | | | | | | | | | | In 9eb3db84, Bcfg2.Server.Admin.Mode.__call__() was changed from pass to raise a NotImplementedError. This causes bcfg2-admin compare and bcfg2-admin snapshots to fail because they call Bcfg2.Server.Admin.Mode.__call__() right away. Since that method didn't do anything anyway, it seems expediant to just avoid the call altogether.
* | bcfg2-lint: better checks for TemplateHelper __default__ stuffChris St. Pierre2013-11-111-1/+15
| | | | | | | | | | | | | | * Check to ensure that no symbols use reserved words, which are different for __default__ than for __export__ * Check to ensure that symbols aren't listed in both __default__ and __export__
* | TemplateHelper: misc. cleanup of __default__ featureChris St. Pierre2013-11-111-14/+20
| | | | | | | | | | | | * Don't require symbols to be listed twice; they can be listed in either __export__ or __default__, but need not be in both. * Check for reserved words in __default__ list
* | Info: Make ^C interaction look nicerSol Jerome2013-10-301-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Core: Avoid unnecessarily reparsing config file on startupChris St. Pierre2013-10-301-1/+4
| |
* | fixed Core stringificationChris St. Pierre2013-10-301-2/+5
| |
* | DB: fixed how Django settings are loadedChris St. Pierre2013-10-304-28/+25
| |
* | Core: Better stringification of server core objectsChris St. Pierre2013-10-302-0/+12
| |
* | Plugins: Added TemplateDataProvider plugin interfaceChris St. Pierre2013-10-306-42/+185
| | | | | | | | | | | | | | This lets you provide variables to the top-level namespace of templates in a more seamless way than through a Connector plugin. It's mostly useful for TemplateHelper for now, but may find other uses in the future.
* | Core: Make core object available at the module levelChris St. Pierre2013-10-292-3/+6
| |
* | Plugins: refactored out unnecessary datastore constructor argumentChris St. Pierre2013-10-2936-88/+84
| |
* | testsuite: more test fixesChris St. Pierre2013-10-281-5/+1
| |
* | fixed misc. unit testsChris St. Pierre2013-10-283-6/+7
| |
* | Merge branch 'maint'Chris St. Pierre2013-10-287-19/+246
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: doc/development/lint.txt misc/bcfg2.spec src/lib/Bcfg2/Reporting/Collector.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/models.py testsuite/install.sh
| * Packages: fixed metadata.Packages["sources"]Chris St. Pierre2013-10-091-1/+1
| |
| * Metadata: read in clients.xml on every writeChris St. Pierre2013-10-041-0/+1
| | | | | | | | | | | | | | | | | | This ensures consistency between the in-memory representation of clients.xml and the representation on disk. If we don't read our writes immediately, there's a race condition when creating a new client: If it asserts its profile or version before the FAM event from the clients.xml edit is processed, then the clients doesn't appear to exist yet, and Bcfg2 complains.
| * Metadata: import any() from CompatChris St. Pierre2013-10-031-1/+3
| |
| * Core: Fixed error message on failed altsrc bindChris St. Pierre2013-09-301-3/+3
| |
| * GroupLogic: fixed thread-local variable initializationChris St. Pierre2013-09-271-11/+13
| |
| * AWSTags: fixed cache clearing at start of client runChris St. Pierre2013-09-261-1/+1
| |
| * models: handle failure to import plugin gracefullyChris St. Pierre2013-09-261-1/+1
| |
| * Metadata: better logging when updating XML data failsChris St. Pierre2013-09-261-5/+6
| |
| * New plugin: AWSTagsChris St. Pierre2013-09-262-0/+218
| | | | | | | | | | AWSTags allows querying tags from EC2, and setting groups based on the tag names or values.
* | bcfg2-lint: allow specifying no lint pluginsChris St. Pierre2013-10-091-1/+1
| |
* | SSHbase: Fix print statement for python 3Sol Jerome2013-10-071-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | SSHbase: support encryption of generated ssh keysChris St. Pierre2013-10-071-5/+66
| |
* | Probes: set _use_db property correctlyChris St. Pierre2013-09-231-1/+4
| |
* | Merge branch 'maint'Chris St. Pierre2013-09-232-9/+49
|\| | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Plugins/GroupLogic.py src/lib/Bcfg2/Server/Plugins/Metadata.py tools/posixusers_baseline.py
| * GroupLogic: avoid infinite recursion when using metadata.query in GroupLogicChris St. Pierre2013-09-231-0/+17
| |
| * GroupLogic: sort after other plugins so GroupLogic can use, e.g., Probe groupsChris St. Pierre2013-09-231-0/+3
| |
| * bcfg2-lint: Fixed Metadata check for duplicate groupsChris St. Pierre2013-09-171-9/+29
| | | | | | | | | | | | | | | | | | The duplicate group check parsed groups differently from the actual groups.xml parsing routines; the latter followed the documentation, while the duplicate group check did now. This fixes the duplicate group check to parse groups.xml correctly when looking for duplicates. Fixes #140
* | Probes: always use database in db-backed probe data storeChris St. Pierre2013-09-231-0/+1
| |
* | Probes: Fixed reading probed.xmlChris St. Pierre2013-09-231-9/+10
| |
* | Merge branch 'maint'Chris St. Pierre2013-09-163-36/+52
|\| | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Plugins/Cfg/CfgPublicKeyCreator.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestCfg/TestCfgPrivateKeyCreator.py
| * CfgPublicKeyCreator: properly handle case where only private key has been ↵Chris St. Pierre2013-09-162-25/+44
| | | | | | | | | | | | | | | | | | created Previously, only two cases were handled properly: both public and private keys had been created; or neither had been created. If the private key had been created (e.g., manually added to the repo), the public key would not be created from it. This fixes that.
| * XMLFileBacked: removed unused variableChris St. Pierre2013-09-111-1/+1
| |
| * XMLFileBacked: Fixed multiple identical XIncludes in one fileChris St. Pierre2013-09-111-12/+9
| |
* | bcfg2-crypt: fixed logic for determining if a encrypt/decrypt failedChris St. Pierre2013-09-131-1/+2
| |
* | bcfg2-crypt: better debug loggingChris St. Pierre2013-09-131-0/+7
| |