summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* DB: fixed how Django settings are loadedChris St. Pierre2013-10-3017-278/+281
|
* Core: Better stringification of server core objectsChris St. Pierre2013-10-302-0/+12
|
* Plugins: Added TemplateDataProvider plugin interfaceChris St. Pierre2013-10-308-55/+225
| | | | | | | 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-2942-111/+110
|
* 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-281-7/+5
|\ | | | | | | | | Conflicts: misc/bcfg2.spec
| * specfile: backported merge w/ Fedora specfile to 1.3Chris St. Pierre2013-10-281-180/+478
| |
| * testsuite: remove duplicate django installationChris St. Pierre2013-10-281-1/+1
| |
* | Merge branch 'maint'Chris St. Pierre2013-10-2816-32/+633
|\| | | | | | | | | | | | | | | | | | | | | 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
| * testsuite: install django 1.4.8 when testing py 2.5Chris St. Pierre2013-10-281-1/+3
| |
| * Merge pull request #142 from fennm/reporting-thread-each-data-importChris St. Pierre2013-10-281-10/+31
| |\ | | | | | | Reporting: start a new thread for each import
| | * Revert "Reporting: Simple sanity check to avoid creating too many threads"Michael Fenn2013-10-141-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit f813f86f8ac2bc7b55f4eb6a0d936f1ce4f68ba7. Premature optimization is the root of all evil, etc. Conflicts: src/lib/Bcfg2/Reporting/Collector.py
| | * Reporting: misc improvements to collector threadingMichael Fenn2013-10-101-4/+6
| | | | | | | | | | | | | | | | | | 1. Use a better convention for calling the threading.Thread constructor 2. Add docstring to ReportingStoreThread.run 3. Give the storage thread variable a better name
| | * Merge remote-tracking branch 'upstream/maint' into ↵Michael Fenn2013-10-104-5/+9
| | |\ | | |/ | |/| | | | reporting-thread-each-data-import
| * | Packages: fixed metadata.Packages["sources"]Chris St. Pierre2013-10-091-1/+1
| | |
| * | Merge pull request #141 from fennm/fix-unit-tests-after-9a6a231Chris St. Pierre2013-10-041-1/+6
| |\ \ | | | | | | | | Tests: Fix tests after 9a6a231
| * | | 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
| | | |
| * | | debian: Add build-depends for 35b53c7Sol Jerome2013-10-011-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * | | Core: Fixed error message on failed altsrc bindChris St. Pierre2013-09-301-3/+3
| | | |
| | | * Reporting: Simple sanity check to avoid creating too many threadsMichael Fenn2013-10-091-0/+3
| | | |
| | | * Reporting: start a new thread for each importMichael Fenn2013-10-091-10/+29
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When dealing with a high-latency database connection (eg. across a WAN), the bcfg2-report-collector process can fall behind in its import queue. The imports are very much bound by the response latency of the database server and not processing throughput. This patch fires off a new thread for each database interaction. The thread itself simply falls out of scope when the interaction is finished processing. The interaction object is still read from the disk serially in order avoid having to create a locking mechanism for that part of the process. This change does potentially create greater load on the database server, but ultimately the load is limited by rate at which the bcfg2 server can generate work.
| | * Tests: Fix tests after 9a6a231Michael Fenn2013-10-041-1/+6
| |/ | | | | | | | | | | | | | | The addition of the call to load_xml in 9a6a231 causes the test to fail because load_xml() expects to read a clients.xml file. The actual actual open calls in write_xml are dummied out with Mock, so no file is written, and thus cannot be read back. This commit dummies out the load_xml and adds some more asserts for good measure.
| * 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
| |
| * testsuite: install boto with optional dependenciesChris 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-267-0/+561
| | | | | | | | | | AWSTags allows querying tags from EC2, and setting groups based on the tag names or values.
| * docs: clarify when JSON/YAML Properties files were addedChris St. Pierre2013-09-251-0/+4
| |
* | specfile: removed bcfg2 1.3-ismsChris St. Pierre2013-10-281-9/+3
| |
* | specfile: GPG key was added as a source but unusedChris St. Pierre2013-10-281-4/+3
| |
* | SQLAlchemy is no longer usedChris St. Pierre2013-10-283-3/+2
| |
* | removed obsolete export.sh toolChris St. Pierre2013-10-282-53/+0
| |
* | removed old redhat build specfile and associated cruftChris St. Pierre2013-10-286-493/+1
| |
* | bumped spec file version to 1.4.0, configured for nightly buildsChris St. Pierre2013-10-281-2/+4
| |
* | fixed various issues listed at https://github.com/Bcfg2/bcfg2/pull/131Chris St. Pierre2013-10-281-27/+37
| |
* | misc/bcfg2.spec: BuildRequires: buildsys-macros for el5John Morris2013-10-281-0/+7
| | | | | | | | | | | | | | | | By default, el5 doesn't have the %%rhel macro, provided by the buildsys-macros package. EPEL build servers install buildsys-macros by default, but explicitly requiring it may help builds in other environments
* | Drop source xml.xsd; included in upstream tarballJohn Morris2013-10-281-2/+1
| |
* | remove /etc/bcfg2-web.confJohn Morris2013-10-281-3/+1
| |
* | Disable pylint and pep8 unit tests on redhatJohn Morris2013-10-281-0/+13
| |
* | Add two installed but unpackaged files to %filesJohn Morris2013-10-281-0/+2
| |
* | misc/bcfg2.spec: fix macrosJohn Morris2013-10-281-11/+13
| | | | | | | | Apparently I made up %elif.
* | reconcile: 1.3.2-2 bump release and add %changelogJohn Morris2013-10-281-1/+19
| |
* | misc/bcfg2.spec: reconcile: %filesJohn Morris2013-10-281-39/+47
| |
* | misc/bcfg2.spec: reconcile: %pre and %post scriptsJohn Morris2013-10-281-41/+126
| | | | | | | | Both old init scripts and new systemd units
* | misc/bcfg2.spec: reconcile: %install scriptJohn Morris2013-10-281-47/+75
| | | | | | | | | | | | | | | | | | - remove %{__install} and other such macros, no longer used in Fedora - use init scripts from redhat/scripts rather than debian - systemd unit file installation - install Examples - move %check section up - fix some macros
* | misc/bcfg2.spec: reconcile: add the new %check scriptJohn Morris2013-10-281-1/+18
| |