summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Packages/Apt: add name property to additional_dataAlexander Sulfrian2013-06-291-1/+1
|
* Packages/Apt: add pin attribute for extra pinning informationAlexander Sulfrian2013-06-291-1/+5
|
* 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-295-7/+90
| | | | | | | 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-291-0/+3
|
* Packages: add priority to sources and sort according to itAlexander Sulfrian2013-06-292-0/+4
|
* mark dependencies as automatic installedAlexander Sulfrian2013-06-291-0/+23
|
* Plugins/Packages: ability to overwrite recommended flag per packageAlexander Sulfrian2013-06-295-21/+66
|
* 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.
* | Plugins/Packages: add missing format string parameterAlexander Sulfrian2013-06-281-1/+2
|/
* 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>
* | Revert "Core: properly handle Ctrl-C"Sol Jerome2013-06-261-13/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | 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>
* | 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.
* | | Server/Admin/Syncdb: add missing importAlexander Sulfrian2013-06-181-0/+1
|/ /
* | 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-171-4/+12
|\ \ | | | | | | Client/Tools/Action: add shell attribute
| * | Client/Tools/Action: add shell attributeAlexander Sulfrian2013-06-141-4/+12
| | | | | | | | | | | | | | | Add an option to specify whether a command should be executed within a shell to enable flow control and other shell-specific syntax.
* | | Compat: Fix u_str for PY3KSol Jerome2013-06-161-4/+1
|/ / | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Probes: no need to .save() after .get_or_create()Chris St. Pierre2013-06-141-1/+1
| |
* | Cfg: Fixed and documented .cat and .diff file behavior with host-specific ↵Chris St. Pierre2013-06-141-8/+17
| | | | | | | | base file
* | Yum: fixed yum-helper logging for real this time, i totally swearChris St. Pierre2013-06-131-1/+1
| |
* | Yum: fixed verbose logging from bcfg2-yum-helperChris St. Pierre2013-06-131-1/+1
| |
* | Yum: handle and log helper errors betterChris St. Pierre2013-06-131-5/+16
| |
* | do not create data directories for plugins that don't need themChris St. Pierre2013-06-135-2/+16
| |