Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | POSIXUsers: Handle unicode gecos attributes | Sol Jerome | 2013-08-02 | 1 | -1/+4 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | POSIX: Ignore permissions error on auto-created dirs | Michael Fenn | 2013-07-24 | 1 | -4/+5 |
| | | | | | | | | | | | | | | If the POSIX client tool is run as a non-root user, it is very likely that the _set_perms() call in _makedirs() will fail because it cannot set the owner of the newly-created directories. This causes _makedirs() to return False, which in turn causes POSIXFile.install() to bail out early. Applying the reasoning in <https://github.com/Bcfg2/bcfg2/pull/108> the freebie directories created by _makedirs should have mode and ownership done on a best-effort basis. If a user needs parent directories to have a specific ownership and mode, then they should specify that directory in their configuration. | ||||
* | Merge branch 'fix-bootstatus' of https://github.com/AlexanderS/bcfg2 into maint | Sol Jerome | 2013-07-17 | 1 | -1/+1 |
|\ | |||||
| * | Bcfg2/Client/Tools: do not get bootstatus directly from the entry | Alexander Sulfrian | 2013-07-17 | 2 | -2/+2 |
| | | | | | | | | | | Bootstatus is optional and should have the value of status if not specified. This is handled by get_bootstatus. | ||||
* | | POSIXUsers: remove usermod -m option, which is too new | Chris St. Pierre | 2013-07-16 | 1 | -1/+0 |
| | | |||||
* | | Merge pull request #114 from igorwidlinski/patch-1 | Chris St. Pierre | 2013-07-12 | 1 | -1/+1 |
|\ \ | | | | | | | Chkconfig should not set service to "on" on every run level | ||||
| * | | Stop adding chkconfig service to every run level | igorwidlinski | 2013-07-04 | 1 | -1/+1 |
| | | | | | | | | | Let chkconfig assign default runlevels. | ||||
* | | | RcUpdate: Use get_bootstatus | Sol Jerome | 2013-07-08 | 1 | -1/+1 |
|/ / | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | Chkconfig: give --list option to chkconfig rather than sending it on stdin | Michael Fenn | 2013-07-02 | 1 | -2/+2 |
| | | |||||
* | | New approach, just create nwe directories with mode 0755 regardless | Michael Fenn | 2013-07-01 | 1 | -9/+3 |
|/ | |||||
* | Chkconfig: Use get_bootstatus | Sol Jerome | 2013-06-27 | 1 | -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/maint | Chris St. Pierre | 2013-06-26 | 1 | -0/+7 |
|\ | | | | | Make the "latest" value more usable in VCS.py | ||||
| * | Make the "latest" value of the "revision" attribute update the working | DongInn Kim | 2013-03-24 | 1 | -0/+7 |
| | | | | | | | | copy only when the working copy is not updated to the latest revision. | ||||
* | | Chkconfig: Set svcstatus | Sol Jerome | 2013-06-25 | 1 | -0/+1 |
| | | | | | | | | | | | | | | When status='ignore', set svcstatus to True so that the entry verifies properly. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | Client/Tools/VCS: fix symlink handling | Alexander Sulfrian | 2013-06-19 | 1 | -1/+1 |
| | | |||||
* | | Client/Tools/VCS: build index after checkout | Alexander Sulfrian | 2013-06-18 | 1 | -9/+38 |
| | | |||||
* | | Client/Tools/VCS: add support for symlinks | Alexander Sulfrian | 2013-06-18 | 1 | -4/+17 |
| | | |||||
* | | Client/Tools/VCS: some simplyfications using dulwich api | Alexander Sulfrian | 2013-06-18 | 1 | -12/+8 |
| | | |||||
* | | Client/Tools/VCS: add always on top feature | Alexander Sulfrian | 2013-06-18 | 1 | -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 repository | Alexander Sulfrian | 2013-06-18 | 1 | -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 attribute | Alexander Sulfrian | 2013-06-14 | 1 | -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 tests | Chris St. Pierre | 2013-06-12 | 1 | -2/+2 |
| | | |||||
* | | POSIX: Fix support for unicode files | Sol Jerome | 2013-06-08 | 1 | -0/+2 |
| | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | Services: Don't check status when set to 'ignore' | Sol Jerome | 2013-06-03 | 3 | -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 attribute | Sol Jerome | 2013-06-02 | 4 | -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_sericeentry | Jake Davis | 2013-05-24 | 1 | -0/+1 |
| | | |||||
* | | POSIX: fix docstring | Chris St. Pierre | 2013-05-21 | 1 | -1/+1 |
| | | |||||
* | | POSIX: fix directory pruning | Chris St. Pierre | 2013-05-21 | 1 | -2/+2 |
| | | |||||
* | | Portage: verify packages are the requested version, not the installed version | Chris St. Pierre | 2013-05-09 | 1 | -4/+4 |
| | | |||||
* | | Systemd: systemd is a replacement for chkconfig | Sol Jerome | 2013-05-09 | 1 | -0/+2 |
| | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | POSIXUsers: allow better <MemberOf group="foo"/> syntax | Chris St. Pierre | 2013-05-07 | 1 | -2/+4 |
| | | |||||
* | | POSIXUsers: strip whitespace from MemberOf tags | Chris St. Pierre | 2013-05-07 | 1 | -2/+2 |
| | | |||||
* | | fixed long lines | Chris St. Pierre | 2013-05-07 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'chkconfig-respect-servicemode' of ↵ | Sol Jerome | 2013-05-06 | 1 | -3/+5 |
|\ \ | | | | | | | | | | https://github.com/fennm/bcfg2 into maint | ||||
| * | | make chkconfig tool driver respect servicemode | Michael Fenn | 2013-05-06 | 1 | -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 them | Chris St. Pierre | 2013-04-25 | 1 | -8/+12 |
| | | | |||||
* | | | POSIX: SELinux context fixes for Path entries | Chris St. Pierre | 2013-04-11 | 1 | -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. Pierre | 2013-04-10 | 1 | -1/+10 |
| | | | | | | | | | | | | the fact that there are local changes may be retained). cope with this bug. | ||||
* | | | RcUpdate: Fix detection of running services | Sol Jerome | 2013-04-10 | 1 | -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. Pierre | 2013-04-05 | 1 | -6/+4 |
| | | | | | | | | | | | | not set | ||||
* | | | fixed pep8 stuff in yum tool | Chris St. Pierre | 2013-03-29 | 1 | -45/+48 |
|/ / | |||||
* | | testsuite: more test fixes | Chris St. Pierre | 2013-03-26 | 1 | -1/+1 |
| | | |||||
* | | testsuite: more text fixes | Chris St. Pierre | 2013-03-26 | 1 | -1/+2 |
| | | |||||
* | | testsuite: fixed more unit test stuff | Chris St. Pierre | 2013-03-26 | 2 | -2/+2 |
| | | |||||
* | | testsuite: fixed issues found by latest version of pylint | Chris St. Pierre | 2013-03-26 | 6 | -6/+6 |
| | | |||||
* | | testsuite: fixed issues found by latest version of pep8 | Chris St. Pierre | 2013-03-26 | 13 | -39/+38 |
|/ | |||||
* | Try to update the ticket #1147 | DongInn Kim | 2013-03-23 | 1 | -1/+2 |
| | |||||
* | SvcTool: fixed some docstrings, code with new Executor | Chris St. Pierre | 2013-03-22 | 1 | -7/+7 |
| | |||||
* | Executor: handle missing commands in a more backwards-compatible way | Chris St. Pierre | 2013-03-22 | 2 | -8/+2 |
| | |||||
* | SvcTool: Fix generic check_service to handle missing service commands | Chris St. Pierre | 2013-03-22 | 1 | -1/+4 |
| |