Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | testsuite: fixed unit tests for database fixes | Chris St. Pierre | 2013-11-25 | 1 | -4/+5 | |
| | | | ||||||
| * | | Core: Avoid starting server if database is enabled but cannot be used | Chris St. Pierre | 2013-11-25 | 2 | -8/+17 | |
| | | | | | | | | | | | | | | | | | | | | | Plugins that use the database often act quite differently depending on whether or not the database is enabled. If we start the server without the database (e.g., the connection failed), then Very Strange Things can happen. | |||||
| * | | bcfg2-admin: added missing docstring | Chris St. Pierre | 2013-11-25 | 1 | -1/+2 | |
| | | | ||||||
| * | | bcfg2-admin: Restored missing "bcfg2-admin client add ... attrib=val" ↵ | Chris St. Pierre | 2013-11-25 | 2 | -3/+25 | |
| | | | | | | | | | | | | functionality | |||||
| * | | Bundler: Fix parsing XML template output with encoding declaration | Chris St. Pierre | 2013-11-21 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lxml 3.2.1 complains when you try to parse a unicode (in Python 2) or string (in Python 3) containing an XML document with an encoding declaration. Traceback: ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration. This encodes the document as a string (in Python 2) or bytes (in Python 3) to avoid the lxml error. There may be other places this happens, too, although in most other cases we should use lxml.etree.parse() to parse a file, or we parse strings (in Python 2) instead of unicode objects. | |||||
| * | | bcfg2-lint: resolve XIncludes when parsing XML for validation | Chris St. Pierre | 2013-11-18 | 1 | -3/+12 | |
| | | | ||||||
| * | | Probes: added missing docstring | Chris St. Pierre | 2013-11-14 | 1 | -0/+3 | |
| | | | ||||||
| * | | testsuite: fixed unit tests for Probes allowed_groups option | Chris St. Pierre | 2013-11-14 | 1 | -2/+3 | |
| | | | ||||||
| * | | Add probes.allowed_groups option to restrict group assignments. | Simon Ruderich | 2013-11-14 | 1 | -1/+9 | |
| | | | ||||||
* | | | Packages: better way to find bcfg2-yum-helper | Chris St. Pierre | 2013-12-09 | 1 | -11/+8 | |
| | | | ||||||
* | | | Core: handle errors in FAM thread more verbosely | Chris St. Pierre | 2013-11-13 | 1 | -8/+12 | |
| | | | ||||||
* | | | Multiprocessing: stringify server core safely before options are parsed | Chris St. Pierre | 2013-11-13 | 1 | -2/+6 | |
| | | | ||||||
* | | | NagiosGen: Sort the hostgroup list | Stéphane Graber | 2013-11-12 | 1 | -1/+1 | |
| | | | | | | | | | | | | This prevents the hostgroup list from flipping at random. | |||||
* | | | Merge branch 'maint' | Chris St. Pierre | 2013-11-12 | 3 | -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 Ruderich | 2013-11-11 | 4 | -8/+10 | |
| | | | ||||||
* | | | Multiprocessing: Added missing Queue back in, merge fail | Chris St. Pierre | 2013-11-12 | 1 | -1/+1 | |
| | | | ||||||
* | | | bcfg2-crypt: Avoid duplicate decrypt/encrypt when auto-determining mode | Chris St. Pierre | 2013-11-12 | 1 | -5/+7 | |
| | | | ||||||
* | | | bcfg2-crypt: Fixed several bugs in autodetection of encrypt/decrypt mode | Chris St. Pierre | 2013-11-12 | 1 | -41/+58 | |
| | | | ||||||
* | | | Merge branch 'maint' | Chris St. Pierre | 2013-11-11 | 3 | -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 data | Chris St. Pierre | 2013-11-11 | 1 | -3/+10 | |
| | | | ||||||
| * | | Multiprocessing: removed unused import | Chris St. Pierre | 2013-11-06 | 1 | -1/+1 | |
| | | | ||||||
| * | | Multiprocessing: don't reuse child RPC listeners | Chris St. Pierre | 2013-11-05 | 1 | -26/+7 | |
| | | | ||||||
| * | | Admin: Don't call dead Mode.__call__ code | Michael Fenn | 2013-11-05 | 2 | -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__ stuff | Chris St. Pierre | 2013-11-11 | 1 | -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__ feature | Chris St. Pierre | 2013-11-11 | 1 | -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 nicer | Sol Jerome | 2013-10-30 | 1 | -1/+1 | |
| | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | |||||
* | | | Core: Avoid unnecessarily reparsing config file on startup | Chris St. Pierre | 2013-10-30 | 1 | -1/+4 | |
| | | | ||||||
* | | | fixed Core stringification | Chris St. Pierre | 2013-10-30 | 1 | -2/+5 | |
| | | | ||||||
* | | | DB: fixed how Django settings are loaded | Chris St. Pierre | 2013-10-30 | 4 | -28/+25 | |
| | | | ||||||
* | | | Core: Better stringification of server core objects | Chris St. Pierre | 2013-10-30 | 2 | -0/+12 | |
| | | | ||||||
* | | | Plugins: Added TemplateDataProvider plugin interface | Chris St. Pierre | 2013-10-30 | 6 | -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 level | Chris St. Pierre | 2013-10-29 | 2 | -3/+6 | |
| | | | ||||||
* | | | Plugins: refactored out unnecessary datastore constructor argument | Chris St. Pierre | 2013-10-29 | 36 | -88/+84 | |
| | | | ||||||
* | | | testsuite: more test fixes | Chris St. Pierre | 2013-10-28 | 1 | -5/+1 | |
| | | | ||||||
* | | | fixed misc. unit tests | Chris St. Pierre | 2013-10-28 | 3 | -6/+7 | |
| | | | ||||||
* | | | Merge branch 'maint' | Chris St. Pierre | 2013-10-28 | 7 | -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. Pierre | 2013-10-09 | 1 | -1/+1 | |
| | | | ||||||
| * | | Metadata: read in clients.xml on every write | Chris St. Pierre | 2013-10-04 | 1 | -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 Compat | Chris St. Pierre | 2013-10-03 | 1 | -1/+3 | |
| | | | ||||||
| * | | Core: Fixed error message on failed altsrc bind | Chris St. Pierre | 2013-09-30 | 1 | -3/+3 | |
| | | | ||||||
| * | | GroupLogic: fixed thread-local variable initialization | Chris St. Pierre | 2013-09-27 | 1 | -11/+13 | |
| | | | ||||||
| * | | AWSTags: fixed cache clearing at start of client run | Chris St. Pierre | 2013-09-26 | 1 | -1/+1 | |
| | | | ||||||
| * | | models: handle failure to import plugin gracefully | Chris St. Pierre | 2013-09-26 | 1 | -1/+1 | |
| | | | ||||||
| * | | Metadata: better logging when updating XML data fails | Chris St. Pierre | 2013-09-26 | 1 | -5/+6 | |
| | | | ||||||
| * | | New plugin: AWSTags | Chris St. Pierre | 2013-09-26 | 2 | -0/+218 | |
| | | | | | | | | | | | | | | | AWSTags allows querying tags from EC2, and setting groups based on the tag names or values. | |||||
* | | | bcfg2-lint: allow specifying no lint plugins | Chris St. Pierre | 2013-10-09 | 1 | -1/+1 | |
| | | | ||||||
* | | | SSHbase: Fix print statement for python 3 | Sol Jerome | 2013-10-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | |||||
* | | | SSHbase: support encryption of generated ssh keys | Chris St. Pierre | 2013-10-07 | 1 | -5/+66 | |
| | | | ||||||
* | | | Probes: set _use_db property correctly | Chris St. Pierre | 2013-09-23 | 1 | -1/+4 | |
| | | | ||||||
* | | | Merge branch 'maint' | Chris St. Pierre | 2013-09-23 | 2 | -9/+49 | |
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Plugins/GroupLogic.py src/lib/Bcfg2/Server/Plugins/Metadata.py tools/posixusers_baseline.py |