summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bump versiondebian/1.3.1-spline2Alexander Sulfrian2013-06-291-0/+6
|
* debian: remove sphinx dependency (not available under squeeze)Alexander Sulfrian2013-06-293-15/+1
|
* debian: bump versionAlexander Sulfrian2013-06-291-0/+33
|
* Merge remote branch 'github/action-shell' into splinev1.3.1-spline2Alexander Sulfrian2013-06-291-1/+3
|\ | | | | | | | | * github/action-shell: Executor: do not split the command line if shell is true
| * Executor: do not split the command line if shell is trueAlexander Sulfrian2013-06-291-1/+3
| | | | | | | | | | | | | | If the command should be excuted within a shell, it should not be splited into a list. If subcommand.Popen gets a list, the first element is the command and all other are the arguements. This breaks the shell evaluation of the commamnd.
* | Merge remote branch 'github/django-db-options' into splineAlexander Sulfrian2013-06-295-4/+52
|\ \ | | | | | | | | | | | | | | | * github/django-db-options: Options: add database.options Opitons: add cook function to parse a dict for the config file
| * | Options: add database.optionsAlexander Sulfrian2013-06-285-4/+30
| | | | | | | | | | | | | | | | | | | | | With the options setting in the database section of the config file various database options for the django database could be set (like ssl mode for postgres). For more information, consult your django databse backend module's documentation.
| * | Opitons: add cook function to parse a dict for the config fileAlexander Sulfrian2013-06-281-0/+22
| | |
* | | schemas/types: add important flag to PathType (for BoundPath)Alexander Sulfrian2013-06-291-0/+8
| | |
* | | Client/Tools/POSIX: only execute needed directory installsAlexander Sulfrian2013-06-291-4/+13
| | | | | | | | | | | | | | | Remember the purge actions per Path entry, so that only needed install actions are executed.
* | | Client/Tools/POSIX: fix prune actionsAlexander Sulfrian2013-06-291-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 Sulfrian2013-06-291-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 Sulfrian2013-06-291-0/+2
| | | | | | | | | | | | Clean hosts with extra packages get a blue background in grid view.
* | | Plugins/Packages/Portage: use keywords/use config everywhereAlexander Sulfrian2013-06-291-23/+24
| | |
* | | Plugins/Packages/Layman: add support for layman overlaysAlexander Sulfrian2013-06-293-0/+124
| | | | | | | | | | | | | | | | | | 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 Sulfrian2013-06-291-1/+14
| | |
* | | Plugins/PkgVars: support multiple values per packageAlexander Sulfrian2013-06-292-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 Sulfrian2013-06-292-0/+291
| | |
* | | Plugins/Packages/Collection: add cclass marker for SourcesAlexander Sulfrian2013-06-291-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 Sulfrian2013-06-291-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 Sulfrian2013-06-291-1/+1
| | |
* | | Packages/Apt: add pin attribute for extra pinning informationAlexander Sulfrian2013-06-292-1/+14
| | |
* | | Packages/Apt: add priority to additional_infoAlexander Sulfrian2013-06-291-1/+1
| | |
* | | Client: always actions do not modify hostsAlexander Sulfrian2013-06-291-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 Sulfrian2013-06-292-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 Sulfrian2013-06-296-7/+133
| | | | | | | | | | | | | | | | | | | | | 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 Sulfrian2013-06-292-0/+12
| | |
* | | Packages: add priority to sources and sort according to itAlexander Sulfrian2013-06-293-0/+14
| | |
* | | mark dependencies as automatic installedAlexander Sulfrian2013-06-291-0/+23
| | |
* | | Plugins/Packages: ability to overwrite recommended flag per packageAlexander Sulfrian2013-06-296-21/+75
| |/ |/|
* | bcfg2.spec: Remove unnecessary lxml dependencySol Jerome2013-06-281-1/+0
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'python-pre27-compat' of https://github.com/AlexanderS/bcfg2 ↵Sol Jerome2013-06-281-10/+12
|\ \ | | | | | | | | | into maint
| * | Client/Frame: avoid use of lxml-only getparent()Alexander Sulfrian2013-06-291-1/+4
| | | | | | | | | | | | | | | | | | getparent is not supported by xml.etree so try to emulate it with a generated parent_map. This is the only possibility, because xml.etree does not store references to the parent elements.
| * | Revert "Avoid use of lxml-only getparent()"Alexander Sulfrian2013-06-281-10/+9
| |/ | | | | | | This reverts commit 38f55b6257ce51b1cf65ecb3d980d7528c1b53ff.
* | Merge pull request #105 from AlexanderS/missing-format-string-parameterChris St. Pierre2013-06-281-1/+2
|\ \ | |/ |/| Plugins/Packages: add missing format string parameter
| * Plugins/Packages: add missing format string parameterAlexander Sulfrian2013-06-281-1/+2
|/
* TestMetadata: Update tests for resolve_clientSol Jerome2013-06-271-25/+25
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Metadata: Make pylint happySol Jerome2013-06-271-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins/Metadata: fix resolution for ipv4-in-ipv6 addresses like ↵Alexander Sulfrian2013-06-271-1/+1
| | | | ::ffff:127.0.0.1
* Chkconfig: Use get_bootstatusSol Jerome2013-06-271-3/+3
| | | | | | | The get_bootstatus method has the correct logic to get the desired result when bootstatus is unset. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge pull request #65 from dikim33/maintChris St. Pierre2013-06-261-0/+7
|\ | | | | Make the "latest" value more usable in VCS.py
| * Make the "latest" value of the "revision" attribute update the workingDongInn Kim2013-03-241-0/+7
| | | | | | | | copy only when the working copy is not updated to the latest revision.
* | TemplateHelper: fix traceback with TemplateHelper modules in place and ↵Chris St. Pierre2013-06-261-1/+1
| | | | | | | | --stdin argument to bcfg2-lint
* | Lint: Fix Path type='vcs' schema checksSol Jerome2013-06-261-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | bcfg2-test: Move signal handlerSol Jerome2013-06-261-1/+1
| | | | | | | | | | | | | | Code was refactored such that this signal handler got put in the wrong place during the revert. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | bcfg2-test: Fix merge thinkoSol Jerome2013-06-261-5/+4
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Revert "Core: properly handle Ctrl-C"Sol Jerome2013-06-263-13/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 4568c44372c99ba809826e016680da9b881bd8e8. Trying to handle ^c in the core is difficult and can break STDOUT for interactive programs that invoke the core. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: src/lib/Bcfg2/Server/Core.py src/sbin/bcfg2-test tools/bcfg2-profile-templates.py
* | doc: Fix database engine configuration valueSol Jerome2013-06-251-2/+3
| | | | | | | | | | | | | | The code automatically adds 'django.db.backends' to the database backend. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Chkconfig: Set svcstatusSol Jerome2013-06-251-0/+1
| | | | | | | | | | | | | | When status='ignore', set svcstatus to True so that the entry verifies properly. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | bcfg2-info: Remove nonexistent optionSol Jerome2013-06-211-1/+0
| | | | | | | | | | | | This option was removed in f157617a5c. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>