summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Support ACLs without a specific user/group for default owner/owning-group ↵Richard Connon2014-02-041-28/+52
| | | | | | | | | | | | ACLs on directories
| * | fixed pylint testsChris St. Pierre2014-01-301-2/+2
| | |
| * | Augeas: ensure that entry.attrib is always a dictChris St. Pierre2014-01-291-1/+2
| | |
| * | Client: let lxml.etree XML implementation parse very large documentsChris St. Pierre2014-01-291-1/+9
| | |
| * | added missing docstringChris St. Pierre2014-01-221-2/+5
| | |
| * | Don't parse unicode XML with encodingChris St. Pierre2014-01-221-1/+10
| | | | | | | | | | | | | | | Fix another place where a unicode XML string with an encoding declaration may be read. Cf. 0f8d403d1a86cfbfe8222662dc445e16e8f7eff9
| * | POSIX: Properly stringify ACLs with no user/group specifiedChris St. Pierre2014-01-161-1/+4
| | | | | | | | | | | | | | | | | | | | | This is just a workaround to avoid a traceback; the real fix will involve making the POSIX tool properly handle ACLs with no user/group given, which refer to the current user/group of the file they apply to.
| * | fixed indentation in previousRichard Connon2014-01-051-1/+1
| | |
| * | Fixed syntatical error in previousRichard Connon2014-01-051-2/+2
| | |
| * | Fixed group blacklist issue #150Richard Connon2014-01-051-0/+1
| | |
| * | Augeas improvements:Chris St. Pierre2013-12-111-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added ability to specify initial content for a file that doesn't exist, to avoid a messy situation where you'd have to probe for file existence and either use a Path type="file" or Path type="augeas" depending, and run Bcfg2 twice. * All commands in an Augeas path are run if *any* of them fail to verify. Previously, only commands that hadn't been run would be installed, but that had issues, particularly with the Clear command, which could pass verification but then be required during the installation phase anyway. * Miscellaneous bug fixes.
* | | Proxy: Remove m2crypto fallbackSol Jerome2014-02-271-64/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Older clients used to depend on this because there was no backported python-ssl module available for various platforms. All supported platforms now appear to either a) have the backported module or b) have a recent enough version of python to use the builtin ssl module. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | Merge branch 'maint'Chris St. Pierre2013-12-092-2/+289
|\| | | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/guides/fedora.txt misc/bcfg2.spec schemas/types.xsd src/lib/Bcfg2/Encryption.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Client.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Lint/Validate.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py src/lib/Bcfg2/Server/Plugins/Probes.py src/sbin/bcfg2-crypt testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestCfg/TestCfgEncryptedGenerator.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py testsuite/common.py testsuite/install.sh
| * Augeas: avoid deprecation warningChris St. Pierre2013-12-051-2/+2
| |
| * Augeas: Added docstrings, fixed some minor pylint issuesChris St. Pierre2013-12-051-20/+91
| |
| * Augeas: Only install unverified commandsChris St. Pierre2013-12-051-0/+2
| |
| * POSIX: skip loading POSIX sub-tools that raise ImportErrorChris St. Pierre2013-12-051-2/+5
| | | | | | | | This mimics the behavior for "real" tools
| * Tools: new Augeas driverChris St. Pierre2013-12-051-0/+211
| |
* | DB: fixed how Django settings are loadedChris St. Pierre2013-10-301-1/+1
| |
* | Merge branch 'maint'Chris St. Pierre2013-09-161-0/+5
|\| | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Plugins/Cfg/CfgPublicKeyCreator.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestCfg/TestCfgPrivateKeyCreator.py
| * Remove all ACLs (including mask) from entries with no ACLs listedChris St. Pierre2013-09-121-0/+5
| | | | | | | | | | | | When installing an entry with no ACLs specified, but with ACLs on the file as it exists on the filesystem, the ACL mask was preserved, even as the ACLs are deleted.
* | Merge branch 'maint'Chris St. Pierre2013-09-091-1/+3
|\| | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Plugins/Cfg/CfgAuthorizedKeysGenerator.py src/lib/Bcfg2/Server/Plugins/Cfg/__init__.py testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIXUsers.py
| * POSIXUsers: Fix tracebackSol Jerome2013-09-061-1/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Pylint/PEP8 fixesSol Jerome2013-09-0617-521/+690
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'maint'Chris St. Pierre2013-09-041-2/+4
|\| | | | | | | | | | | | | | | | | | | Conflicts: doc/client/tools/actions.txt schemas/authorizedkeys.xsd src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Bundler.py testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py
| * Fix pep8 errorsJason Kincl2013-08-301-3/+3
| |
| * Client: Add entries processed as important to list of entries whenJason Kincl2013-08-301-2/+4
| | | | | | | | determining if a bundle has been modified
* | Probes: Fix unicode probesSol Jerome2013-09-011-1/+5
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | POSIX: Fix merge failureSol Jerome2013-09-011-3/+3
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'maint'Sol Jerome2013-09-013-6/+19
|\| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Server/BuiltinCore.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/NagiosGen.py src/lib/Bcfg2/Server/Plugins/Probes.py src/lib/Bcfg2/Server/SSLServer.py tools/README
| * SELinux: Update the matchpathcon function to use the file's modeJonathan Billings2013-08-221-1/+2
| | | | | | | | | | | | | | | | If you don't supply a mode to the selinux.matchpathcon() function, it fails to properly look up the context in some circumstances related to context patterns in the SELinux policy. This change looks up the mode and supplies it to the function. (cherry picked from commit 20a2c9a8fb6c6ecbed259b5deccb01c01bf3304f)
| * Client: Don't modify running services if ignoredSol Jerome2013-08-121-2/+3
| | | | | | | | | | | | | | Previously, when a bundle's contents were updated, all services listed in the bundle were stopped if the status attribute was set to 'ignore'. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * POSIX: Fix pylint failureSol Jerome2013-08-101-1/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * POSIX: Fix unicode file verificationSol Jerome2013-08-101-3/+13
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Core: Added default ACLsChris St. Pierre2013-08-191-1/+0
| | | | | | | | | | | | Since we're exposing more stuff via XML-RPC, this adds a default, fairly restrictive ACL plugin if no other ClientACLs plugin is loaded. This makes us secure by default.
* | Client: Use absolute importsSol Jerome2013-08-121-3/+3
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | testsuite: fixed more unit testsChris St. Pierre2013-08-121-3/+0
| |
* | testsuite: fixed remaining unit tests (?)Chris St. Pierre2013-08-121-3/+3
| |
* | testsuite: fixed more unit testsChris St. Pierre2013-08-123-10/+6
| |
* | testsuite: fixed most pylint complaintsChris St. Pierre2013-08-093-4/+4
| |
* | Client: Fixed writing cached configChris St. Pierre2013-08-091-1/+1
| |
* | Client: Handle all DeclareVersion failures the sameChris St. Pierre2013-08-091-10/+2
| | | | | | | | | | | | | | Some xmlrpclib.Fault exceptions were handled differently because originally, the Bcfg2 1.3 client was going to be compatible with a Bcfg2 1.2 server. That didn't happen, and sure isn't going to happen with a Bcfg2 1.4 client.
* | Merge branch 'options-rewrite'Chris St. Pierre2013-08-0820-1150/+1239
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Init.py src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/BuiltinCore.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugin/base.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Cfg/__init__.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Packages/__init__.py src/lib/Bcfg2/Server/SSLServer.py src/lib/Bcfg2/Utils.py src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt src/sbin/bcfg2-info src/sbin/bcfg2-lint src/sbin/bcfg2-test src/sbin/bcfg2-yum-helper tools/bcfg2-profile-templates.py
| * | Options: migrated client to new parserChris St. Pierre2013-06-274-937/+931
| | |
| * | Options: migrated client drivers to new parserChris St. Pierre2013-06-2716-210/+303
| | |
* | | Merge branch 'maint'Chris St. Pierre2013-08-082-5/+9
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/files/mysql.txt doc/getting_started/index.txt doc/server/plugins/structures/bundler/kernel.txt src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugin/interfaces.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Probes.py src/lib/Bcfg2/Server/Plugins/SSHbase.py
| * | POSIXUsers: Handle unicode gecos attributesSol Jerome2013-08-021-1/+4
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * | POSIX: Ignore permissions error on auto-created dirsMichael Fenn2013-07-241-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 'maint'Sol Jerome2013-07-184-3/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: src/lib/Bcfg2/Server/Plugins/Cfg/CfgPrivateKeyCreator.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Properties.py
| * | Merge branch 'fix-bootstatus' of https://github.com/AlexanderS/bcfg2 into maintSol Jerome2013-07-171-1/+1
| |\ \