summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client/Tools
Commit message (Collapse)AuthorAgeFilesLines
* POSIX: Switch from perms to modeSol Jerome2012-10-155-24/+24
| | | | | | | | Bcfg2 has traditionally used the 'perms' attribute to specify the file mode for POSIX entries. Switching to a 'mode' attribute will allow us to be more consistent with other tools as well as POSIX itself. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* RPM driver: fixed querying config options when the deprecated RPMng driver ↵Chris St. Pierre2012-10-111-0/+1
| | | | is used
* Added launchd support for osx 10.7, 10.8Luke Cyca2012-10-101-2/+1
|
* Ignore non-package lines in macports outputLuke Cyca2012-10-101-0/+4
|
* fixed determining if selinux modules existChris St. Pierre2012-10-031-0/+7
|
* consistently list ACLs on Path entriesChris St. Pierre2012-10-021-3/+5
|
* if an entry has no acls and its filesystem is mounted noacl, that's not an errorChris St. Pierre2012-09-281-2/+7
|
* Revert "POSIX: make sure to close file handles on temp files"Chris St. Pierre2012-09-281-10/+7
| | | | | | | This reverts commit a51d908d2fb08353c8aae349932c892d42f550c9. The file descriptor is closed when the file object created by os.fdopen goes out of scope.
* YUM: fixed bug in pylint complianceChris St. Pierre2012-09-281-1/+1
|
* POSIX: make sure to close file handles on temp filesChris St. Pierre2012-09-281-7/+10
|
* made YUM driver pass pylintChris St. Pierre2012-09-261-256/+272
|
* YUM: driver now records actions to yum.log (#1103)Chris St. Pierre2012-09-261-107/+113
|
* fixed bug with Remove and FindExtra in package toolsChris St. Pierre2012-09-261-13/+8
|
* made full pylint checks the default, expanded pylint coverage to lots of toolsChris St. Pierre2012-09-2614-152/+170
|
* deprecated YUM24 tool, renamed YUMng to YUM, RPMng to RPMChris St. Pierre2012-09-266-1954/+1967
|
* SELinux: Fix incorrect return valueSol Jerome2012-09-251-2/+2
| | | | | | | | Previously, we were not updating the states dict with the correct return value for entries which were dispatched to Install methods via the post_txn_queue. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SELinux: Check for attribute explicitlySol Jerome2012-09-251-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SELinux: Do not attempt transaction while lockedSol Jerome2012-09-251-0/+1
| | | | | | | Without this, the code falls through to the rest of the method which attempts to do the install even when there is a transaction lock. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* various pylint fixesChris St. Pierre2012-09-252-4/+0
|
* misc. minor bug fixesChris St. Pierre2012-09-251-3/+8
|
* SELinux: when selinux supports transactions but not adding modules via the ↵Chris St. Pierre2012-09-251-47/+138
| | | | API, defer module installation until after the transaction is complete
* fixed tests for pylint changesChris St. Pierre2012-09-251-0/+2
|
* expanded pylint testsChris St. Pierre2012-09-259-238/+270
|
* run pylint for errors on almost everything, full runs on some selected stuffChris St. Pierre2012-09-2510-18/+27
|
* SEModules: fixed handling of module names againChris St. Pierre2012-09-181-9/+3
|
* SEModules: fixed some bits of module handlingChris St. Pierre2012-09-141-4/+10
|
* Chkconfig client tool: fix service start result logicJohn Morris2012-09-111-1/+1
| | | | | | | | | | When the bcfg2 client installs a service turning it 'on' with chkconfig, it then starts the service with 'service foo start'. If all these succeed, it should return a True success value. This fixes a bug where starting the service succeeds, but is interpreted as failure, ultimately causing the host to be reported as dirty.
* Bcfg2/Client/Tools/Chkconfig.py: squash bug tickled by services turned 'off'John Morris2012-09-111-1/+1
|
* POSIX: fixed join of interactive-mode diff to work regardless of newlinesChris St. Pierre2012-09-111-1/+1
|
* Rules: Implement status='ignore' for all service typesSol Jerome2012-09-114-0/+12
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* POSIX/Device: Change perms back to modeSol Jerome2012-09-021-2/+2
| | | | | | | | Change our terminology to match that used by MKNOD(1). This makes the client tool behave as it did previously. Also, add 'mode' to the schema to make `bcfg2-lint` happy. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SELinux: more tool fixes for old-n-busted RHEL 5Chris St. Pierre2012-08-281-17/+102
|
* added better common walk_packages implementation for python 2.4 and 2.5Chris St. Pierre2012-08-272-37/+9
| | | | | | Conflicts: src/lib/Bcfg2/Client/Tools/__init__.py
* renamed Bcfg2Py3k to CompatChris St. Pierre2012-08-273-3/+3
|
* POSIX: fixed setting handled entriesChris St. Pierre2012-08-271-2/+7
|
* finally a relative import fix that works on py2.4 thru 3.2Chris St. Pierre2012-08-238-8/+40
|
* removed relative imports from POSIX toolsChris St. Pierre2012-08-238-8/+8
|
* lots of various py3k fixesChris St. Pierre2012-08-218-17/+21
|
* py3k unicode fixesChris St. Pierre2012-08-201-4/+1
|
* ensure that ACL entries can be parsed without error even without pylibaclChris St. Pierre2012-08-201-1/+1
|
* removed excess newlines from interactive prompt diffsChris St. Pierre2012-08-201-1/+1
|
* fixed diffs of unicode filesChris St. Pierre2012-08-201-3/+3
|
* fix for missing ACL libsChris St. Pierre2012-08-161-4/+6
|
* POSIX: added tests, fixes for File._get_diffsChris St. Pierre2012-08-161-9/+10
|
* fix _verify_metadata() when selinux libs not installedChris St. Pierre2012-08-161-1/+2
|
* removed print statementsChris St. Pierre2012-08-151-23/+0
|
* made logging to syslog configurable and default for all loggingChris St. Pierre2012-08-153-7/+7
|
* POSIX:Chris St. Pierre2012-08-1511-1257/+1313
| | | | | | refactored POSIX tool into multiple files to make it more manageable Added unit tests for POSIX tool and sub-tools fixed ACL handling for filesystems mounted noacl
* Revert "removed Bcfg2.Client.XML abstraction layer since we depend directly ↵Chris St. Pierre2012-08-0615-70/+68
| | | | | | on lxml.etree" This reverts commit 913d320ee02d5e16b61a14d97b2b1111d307d0d3.
* removed Bcfg2.Client.XML abstraction layer since we depend directly on ↵Chris St. Pierre2012-08-0315-68/+70
| | | | lxml.etree