summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | Utils: PackedDigitRange __len__() breaks with open-ended rangesChris St. Pierre2013-06-191-3/+0
| |
* | Core: rewrite $HOME after dropping privsChris St. Pierre2013-06-191-0/+6
| |
* | Yum: fixed logging bcfg2-yum-helper error outputChris St. Pierre2013-06-191-1/+3
| |
* | Client/Tools/VCS: fix symlink handlingAlexander Sulfrian2013-06-191-1/+1
| |
* | Merge branch 'client-tool-vcs' of https://github.com/AlexanderS/bcfg2 into maintSol Jerome2013-06-181-27/+85
|\ \
| * | Client/Tools/VCS: build index after checkoutAlexander Sulfrian2013-06-181-9/+38
| | |
| * | Client/Tools/VCS: add support for symlinksAlexander Sulfrian2013-06-181-4/+17
| | |
| * | Client/Tools/VCS: some simplyfications using dulwich apiAlexander Sulfrian2013-06-181-12/+8
| | |
| * | Client/Tools/VCS: add always on top featureAlexander Sulfrian2013-06-181-5/+24
| | | | | | | | | | | | | | | | | | | | | You can specify a refname (like refs/heads/master) as revision and you will always get the current tree of this refname. During verify it is checked if the ref had changed in the remote repo and if an "update" is necessary.
| * | Client/Tools/VCS: create directory for repositoryAlexander Sulfrian2013-06-181-1/+2
| | | | | | | | | | | | | | | | | | | | | Older version of dulwich will not create the directory (even with mkdir=True) for the repository. So we cannot rely on it. Because we clean existing folders before, we have to create the directory in every case.
* | | Update COPYRIGHT fileAlexander Sulfrian2013-06-181-0/+2
| | |
* | | Server/Admin/Syncdb: add missing importAlexander Sulfrian2013-06-181-0/+1
|/ /
* | fix TCheetah documentationAlexander Sulfrian2013-06-181-1/+1
| | | | | | | | | | The TCheetah documentation contains a reference to TGenshi. It was maybe a left over from generating the TCheetah docs from the TGenshi docs.
* | Merge pull request #96 from kincl/jasons-hackingChris St. Pierre2013-06-172-1/+41
|\ \ | | | | | | Svn: Adding config options for specifying a user and password for subversion and to trust server SSL certificates
| * | Svn: Fixing pep8 checkJason Kincl2013-06-171-0/+1
| | |
| * | Probes: Fixing Django exception importJason Kincl2013-06-171-1/+2
| | |
| * | Svn: Fixing pep8 and pylint checksJason Kincl2013-06-171-10/+13
| | |
| * | Svn: Tidying up code and logging of subversion trust and user/pass optionsJason Kincl2013-06-171-8/+15
| | |
| * | Svn: Adding config options for specifying a user and password for subversion ↵Jason Kincl2013-06-171-0/+28
|/ / | | | | | | and to trust server SSL certificates
* | Reporting: Fix traceback when run interactivelySol Jerome2013-06-171-2/+4
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Probes: no need to .save() after .get_or_create()Chris St. Pierre2013-06-171-1/+1
| |
* | Merge pull request #97 from AlexanderS/action-add-shell-flagChris St. Pierre2013-06-172-6/+22
|\ \ | | | | | | Client/Tools/Action: add shell attribute