summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* bcfg2-reports: update to use current modelsAlexander Sulfrian2013-06-291-5/+5
|
* 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 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>
* | 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-262-13/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | 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.
* | | 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
| |
* | bcfg2-yum-helper: fixed unit testsChris St. Pierre2013-06-141-5/+8
| |
* | 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-132-24/+61
| |
* | do not create data directories for plugins that don't need themChris St. Pierre2013-06-135-2/+16
| |
* | Probes: reduce race condition that can result in multiple probe groupsChris St. Pierre2013-06-131-6/+9
| |
* | fixed unit testsChris St. Pierre2013-06-121-2/+2
| |
* | Client: Exit when ^C is pressed interactivelySol Jerome2013-06-121-5/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | POSIX: Fix support for unicode filesSol Jerome2013-06-081-0/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>