summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'upstream/reporting-close-db-connxn' into splinev1.3.4-spline3Alexander Sulfrian2014-02-282-4/+6
|\ | | | | | | | | * upstream/reporting-close-db-connxn: Reporting: properly close db connection
| * Reporting: properly close db connectionChris St. Pierre2014-02-282-4/+6
| | | | | | | | | | | | | | Close the db connection at the end of each DjangoORM import, not when the reporting collector shuts down. The collector may not have even opened a connection, in the case of a storage backend other than DjangoORM.
* | Plugins/Packages/Portage: do not try to update the {var,port}tree instancesv1.3.4-spline2Alexander Sulfrian2014-02-281-6/+4
| |
* | Client/Tools/POSIX: only execute needed directory installsAlexander Sulfrian2014-02-261-4/+13
| | | | | | | | | | Remember the purge actions per Path entry, so that only needed install actions are executed.
* | Client/Tools/POSIX: fix prune actionsAlexander Sulfrian2014-02-261-0/+2
| | | | | | | | | | | | | | | | The prune actions was not run. The fix that does not add multiple prune actions on multiple Verify runs in 7077358b1 does not set the pruneTrue flag during the later Verify runs and therefor the prune actions are ignored. This set the pruneTrue flag if the first Verify run, detected some entries that should be pruned.
* | Client/Tools/POSIX: catch multiple VerifyDirectory callsAlexander Sulfrian2014-02-261-2/+9
| | | | | | | | | | | | If a directory should be pruned from all unknown files VerifyDirectory created a new entry each call and the second fails because the file was already removed.
* | Reports/templates: mark hosts with extra packages in grid viewAlexander Sulfrian2014-02-261-0/+2
| | | | | | | | Clean hosts with extra packages get a blue background in grid view.
* | Plugins/Packages/Layman: add support for layman overlaysAlexander Sulfrian2014-02-262-0/+141
| | | | | | | | | | | | In combination with the PortageCollection the Packages plugin could now handle layman overlays. The Portage collection evaluates the dependencies with respect to the configured overlays.
* | Plugins/Packages/Portage: add support for per-package flagsAlexander Sulfrian2014-02-261-11/+2
| |
* | Plugins/PkgVars: support multiple values per packageAlexander Sulfrian2014-02-262-4/+10
| | | | | | | | | | If multiple values specified for one package all values are joined together in a set.
* | Plugins/Packages/Portage: add Packages Plugin for PortageAlexander Sulfrian2014-02-261-0/+331
| |
* | Plugins/Packages/Collection: add cclass marker for SourcesAlexander Sulfrian2014-02-261-5/+7
| | | | | | | | | | | | | | | | | | | | | | The classes of Sources could now specify another class for the Collection container. One host could only use one Collection class at a time. So all different Sources have to reference the same Collection. If no "cclass" is defined in the Sources class, the collection class name is generated by striping the "Source" string from the Sources class name like before.
* | Client/Tools/APT: save new package version for auto pkgsAlexander Sulfrian2014-02-261-3/+5
| | | | | | | | | | | | For auto/any packages, currently only auto/any is stored in the statistics as the new installed version. This patch changes this behavior, so that the exact version string is saved additionaly.
* | Packages/Apt: add name property to additional_dataAlexander Sulfrian2014-02-261-1/+1
| |
* | Packages/Apt: add pin attribute for extra pinning informationAlexander Sulfrian2014-02-261-1/+5
| |
* | Packages/Apt: add priority to additional_infoAlexander Sulfrian2014-02-261-1/+1
| |
* | Client: always actions do not modify hostsAlexander Sulfrian2014-02-261-1/+3
| | | | | | | | | | Actions that are executed always, does not set the host statistics to modified. (One always action would lead to always modified hosts)
* | Client: allow pre-Actions and important-Paths to enable installsAlexander Sulfrian2014-02-262-9/+21
| | | | | | | | | | | | | | This is used to first update the apt repositories and than install all current versions in one bcfg2-run. Also the installation of software from custom repositories (that are configured on the client via bcfg2) should be possible on the first run.
* | Plugins/PkgVars: new plugin to set various vars per packageAlexander Sulfrian2014-02-265-8/+95
| | | | | | | | | | | | | | This plugins allows the setting of varius flags per package. It should be used f.e. to specify pinnings for debian packages or use flags and keywords for gentoo packages (needs to be implemented by future Portage plugin).
* | Packages: add name to sourcesAlexander Sulfrian2014-02-261-0/+3
| |
* | Packages: add priority to sources and sort according to itAlexander Sulfrian2014-02-262-0/+5
| |
* | mark dependencies as automatic installedAlexander Sulfrian2014-02-261-0/+23
| |
* | Plugins/Packages: ability to overwrite recommended flag per packageAlexander Sulfrian2014-02-265-22/+68
|/
* POSIX: fixed test to only apply ACLs to non-symlinksv1.3.4Chris St. Pierre2014-02-251-1/+1
|
* Revert "POSIX: fixed test to only apply ACLs to non-symlinks"Chris St. Pierre2014-02-251-2/+2
| | | | | | Massive typo. This reverts commit c51850b13f54d6f46e6c671e5ee1d3f0cacef727.
* POSIX: fixed test to only apply ACLs to non-symlinksChris St. Pierre2014-02-251-2/+2
|
* Version bump to 1.3.4Sol Jerome2014-02-252-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* helpers: better error message when failing to read FileBackedChris St. Pierre2014-02-251-1/+2
|
* bcfg2-lint: Verify abstract Package tagsChris St. Pierre2014-02-231-0/+10
|
* Metadata: reread client list from databaseChris St. Pierre2014-02-233-5/+41
| | | | | | | | This fixes two related bugs: One causes Metadata to use an out-of-date cached list of clients when a client is deleted or added with bcfg2-admin; the other causes child worker processes to use an out-of-date cached list of clients when a client is added with a Bcfg2 run when the multiprocessing core is in use.
* Fixed typoChris St. Pierre2014-02-211-1/+1
| | | | Note to self: do not push code before 9 am
* Yum: fix pylint testsChris St. Pierre2014-02-211-2/+2
|
* Yum: only fork to find bcfg2-yum-helper once, for realChris St. Pierre2014-02-211-2/+2
|
* POSIX: Fix verification of symlinksChris St. Pierre2014-02-211-3/+3
| | | | | | | | | | * Stat the link itself, not its target * Get SELinux context from the link, not the target * Don't get ACLs at all; symlinks don't have their own ACLs The first issue listed wasn't actually a bug, because none of the information queried from the target by the stat call was actually used in verification, but it's been fixed for completeness.
* testsuite: Fixed several pylint 1.0 issuesChris St. Pierre2014-02-213-6/+10
|
* core: only shut down core onceChris St. Pierre2014-02-191-0/+10
|
* FAM: Only shut down inotify notifier onceChris St. Pierre2014-02-191-1/+1
|
* Merge pull request #156 from irconan/default-aclsChris St. Pierre2014-02-182-46/+92
|\ | | | | Support ACLs without a specific user/group
| * support python 2.4 for default ACL checking in LintRichard Connon2014-02-181-6/+7
| |
| * Working lint check for invalid default ACLsRichard Connon2014-02-141-29/+18
| |
| * Correct XML source for bundles in default ACL LintRichard Connon2014-02-141-1/+1
| |
| * Lint checking for invalid default ACLsRichard Connon2014-02-141-1/+32
| |
| * Don't strip other entries from default ACL, these are defined by mode number.Richard Connon2014-02-101-3/+1
| |
| * docstring for new sub-methodRichard Connon2014-02-041-0/+2
| |
| * Except _verify_acls from pylint branches checkRichard Connon2014-02-041-1/+1
| |
| * Removed redundant condition for empty default ACLRichard Connon2014-02-041-8/+7
| |
| * Fixed continue not in a loop error in previousRichard Connon2014-02-041-1/+1
| |
| * fix for "Too many branches" in _verify_aclsRichard Connon2014-02-041-20/+23
| |
| * Minor changes to default ACL codeRichard Connon2014-02-041-5/+4
| |
| * Support ACLs without a specific user/group for default owner/owning-group ↵Richard Connon2014-02-041-28/+52
| | | | | | | | ACLs on directories