summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client/Tools
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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.
* | 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.
* | fixed unit testsChris St. Pierre2013-06-121-2/+2
| |
* | POSIX: Fix support for unicode filesSol Jerome2013-06-081-0/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Services: Don't check status when set to 'ignore'Sol Jerome2013-06-033-45/+50
| | | | | | | | | | | | | | Checking the status for services that don't support it leads to ugly output in the interactive client on some platforms. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Services: Add new bootstatus attributeSol Jerome2013-06-024-95/+223
| | | | | | | | | | | | | | | | | | This new attribute allows the specification of a boot-time status separately from the current 'status' attribute. This allows for more fine-grained control over e.g. services that are really just boot scripts. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Fix for null target_status in Reporting_sericeentryJake Davis2013-05-241-0/+1
| |
* | POSIX: fix docstringChris St. Pierre2013-05-211-1/+1
| |
* | POSIX: fix directory pruningChris St. Pierre2013-05-211-2/+2
| |
* | Portage: verify packages are the requested version, not the installed versionChris St. Pierre2013-05-091-4/+4
| |
* | Systemd: systemd is a replacement for chkconfigSol Jerome2013-05-091-0/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | POSIXUsers: allow better <MemberOf group="foo"/> syntaxChris St. Pierre2013-05-071-2/+4
| |
* | POSIXUsers: strip whitespace from MemberOf tagsChris St. Pierre2013-05-071-2/+2
| |
* | fixed long linesChris St. Pierre2013-05-071-1/+2
| |
* | Merge branch 'chkconfig-respect-servicemode' of ↵Sol Jerome2013-05-061-3/+5
|\ \ | | | | | | | | | https://github.com/fennm/bcfg2 into maint
| * | make chkconfig tool driver respect servicemodeMichael Fenn2013-05-061-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bcfg2 man page states that -s disabled should stop bcfg2 from attempting to modify any services, but the Chkconfig driver (at least) does start the service during the Install phase even with -s disabled. This patch adds support to the Chkconfig driver for the servicemode config parameter. It still does chkconfig --add, which I think makes sense to happen as part of configuration, but it does not attempt to actually start the service.
* | | SELinux: added MLS ranges to all entries that support themChris St. Pierre2013-04-251-8/+12
| | |
* | | POSIX: SELinux context fixes for Path entriesChris St. Pierre2013-04-111-5/+11
| | | | | | | | | | | | | | | | | | | | | * Fixed Path entries with secontext='__default__' where no fcontext rule applied to the path. * Permitted setting secontext='' when no SELinux context should be applied to a Path entry
* | | SELinux: when the policy is upgraded, local changes can be lost (although ↵Chris St. Pierre2013-04-101-1/+10
| | | | | | | | | | | | the fact that there are local changes may be retained). cope with this bug.
* | | RcUpdate: Fix detection of running servicesSol Jerome2013-04-101-8/+16
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | File: handle Path type="file" entries with no text content even if empty is ↵Chris St. Pierre2013-04-051-6/+4
| | | | | | | | | | | | not set
* | | fixed pep8 stuff in yum toolChris St. Pierre2013-03-291-45/+48
|/ /
* | testsuite: more test fixesChris St. Pierre2013-03-261-1/+1
| |
* | testsuite: more text fixesChris St. Pierre2013-03-261-1/+2
| |
* | testsuite: fixed more unit test stuffChris St. Pierre2013-03-262-2/+2
| |
* | testsuite: fixed issues found by latest version of pylintChris St. Pierre2013-03-266-6/+6
| |
* | testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-2613-39/+38
|/
* Try to update the ticket #1147DongInn Kim2013-03-231-1/+2
|
* SvcTool: fixed some docstrings, code with new ExecutorChris St. Pierre2013-03-221-7/+7
|
* Executor: handle missing commands in a more backwards-compatible wayChris St. Pierre2013-03-222-8/+2
|
* SvcTool: Fix generic check_service to handle missing service commandsChris St. Pierre2013-03-221-1/+4
|
* Client: fix some OSError tracebacks from commands not foundChris St. Pierre2013-03-212-8/+12
|
* APT: Prevent traceback for missing packagesSol Jerome2013-03-211-2/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed unit testsChris St. Pierre2013-03-211-2/+1
|
* Merge branch '1.3.2' into maintChris St. Pierre2013-03-2121-483/+315
|\ | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Tools/__init__.py src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIXUsers.py testsuite/Testsrc/test_code_checks.py
| * extended usage of Executor class, added client-side timeout optionsChris St. Pierre2013-02-142-120/+16
| |
| * better Executor class for client toolsChris St. Pierre2013-02-1420-409/+378
| |
| * abstracted similar digit range classes in POSIXUsers/GroupPatterns into ↵Chris St. Pierre2013-02-141-40/+5
| | | | | | | | Bcfg2.Utils
* | fixed some pylint errorsChris St. Pierre2013-03-191-6/+6
| |
* | POSIX: fixed infinite stat() loop with misnamed Path entryChris St. Pierre2013-03-181-1/+1
| |
* | YUM: Fixed YUM Group package selection with group types (default, optional, ↵Jason Kincl2013-02-271-6/+12
| | | | | | | | all) on client tool
* | YUM: Cleaner implementation of missing_attrs() from superclassJason Kincl2013-02-251-12/+4
| |
* | YUM: Adding functionality to YUM client tool to resolve YUM groups when ↵Jason Kincl2013-02-221-8/+80
| | | | | | | | server-side resolver is off
* | wrote unit tests for base client Tool classesChris St. Pierre2013-02-202-50/+61
| |
* | SELinux: Fix resolution of extra entriesSol Jerome2013-02-181-1/+1
|/ | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* YUM: Set logger to info for pkg verify failuresSol Jerome2013-01-301-7/+8
| | | | | | | | If the loglevel is set to debug, then a user running the client without -d will not be informed why the client is asking them to install Package entries which may already be installed (but are not verifying). Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* POSIXUsers: set managed uid/gid rangeChris St. Pierre2013-01-181-7/+90
| | | | | | | | Added options to set a range (whitelist or blacklist) of managed uids/gids so that accounts in LDAP (e.g.) do not get flagged as "extra" entries. Request: http://article.gmane.org/gmane.comp.sysutils.bcfg2.devel/4629
* fixed tags for extra SELinux entriesChris St. Pierre2012-12-181-1/+1
|