summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Core.py
Commit message (Collapse)AuthorAgeFilesLines
* Core: Do not create DefaultACL/ directoryChris St. Pierre2013-09-121-0/+2
|
* Merge branch 'maint'Chris St. Pierre2013-09-091-2/+1
|\ | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Plugins/Cfg/CfgAuthorizedKeysGenerator.py src/lib/Bcfg2/Server/Plugins/Cfg/__init__.py testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIXUsers.py
| * Core: avoid importing Metadata before Django has been configuredChris St. Pierre2013-09-051-2/+1
| |
* | Pylint/PEP8 fixesSol Jerome2013-09-061-3/+3
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'maint'Chris St. Pierre2013-09-051-2/+34
|\| | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugins/GroupLogic.py
| * Allow Connector to create new groupsChris St. Pierre2013-09-051-2/+34
| | | | | | | | | | Connector plugins can now create new groups, including the full range of options on those groups (profile, public, category, etc.).
* | Core: Added default ACLsChris St. Pierre2013-08-191-6/+22
| | | | | | | | | | | | 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.
* | Rewrote arbitrary data cache systemChris St. Pierre2013-08-161-17/+3
| | | | | | | | | | | | | | | | | | | | | | | | The caching facilities in Bcfg2.Server.Cache provided basically no features. This rewrites that to allow for much more powerful cache expiration, with a particular focus on interoperation between different components and plugins to let caches be expired as necessary. (E.g., the Probes plugin can expire the Metadata cache.) This does not affect any of the file data cached by Bcfg2, only the caches that are populated with arbitrary data (Metadata, Packages, Probes, etc.).
* | Merge branch 'maint'Chris St. Pierre2013-08-121-2/+8
|\| | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Admin/Viz.py src/lib/Bcfg2/Server/Plugins/Packages/__init__.py
| * Core: iterate over RMI objects properlyChris St. Pierre2013-08-091-1/+1
| |
| * Core: fixed py3k incompatibilityChris St. Pierre2013-08-091-2/+8
| | | | | | | | | | Also abstracted getting the list of objects that may register RMI calls into a separate function.
* | Merge branch 'options-rewrite'Chris St. Pierre2013-08-081-189/+194
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 server core to new option parserChris St. Pierre2013-06-271-197/+193
| | |
* | | Merge branch 'maint'Chris St. Pierre2013-08-081-16/+35
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | MultiprocessingCore: added a way to dispatch RMI calls to child processesChris St. Pierre2013-08-071-4/+2
| | |
| * | Plugin: added new Caching interfaceChris St. Pierre2013-08-071-2/+16
| | | | | | | | | | | | | | | | | | | | | This gives a single unified interface for expiring caches, no matter the plugin. This will be particularly useful with the MultiprocessingCore, as certain calls must be dispatched to child processes to expire their caches.
| * | Core: log when a cached metadata object is usedChris St. Pierre2013-08-061-0/+3
| | |
| * | Core: track statistics on resolve_clientChris St. Pierre2013-08-051-0/+1
| | |
| * | Core: update VCS revision only when events are handledChris St. Pierre2013-07-311-1/+2
| | |
| * | MultiprocessingCore: make multiprocessing children threaded for higher ↵Chris St. Pierre2013-07-301-9/+11
| | | | | | | | | | | | performance
* | | Merge branch 'maint'Sol Jerome2013-07-181-9/+35
|\| | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Core: handle unknown log handlers without names gracefullyChris St. Pierre2013-07-161-3/+8
| | |
| * | Core: Gracefully handle failure to add client without default groupChris St. Pierre2013-07-091-1/+6
| | |
| * | Core: apply FAM blocking option to all commands that start a serverChris St. Pierre2013-07-091-5/+21
| | |
* | | Core: removed duplicate check_acls definitionChris St. Pierre2013-06-281-8/+0
| |/ |/|
* | Merge branch 'maint'Chris St. Pierre2013-06-271-14/+12
|\| | | | | | | | | | | | | | | | | Conflicts: doc/server/plugins/generators/cfg.txt doc/server/plugins/generators/tcheetah.txt src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/Plugins/Cfg/__init__.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py
| * Revert "Core: properly handle Ctrl-C"Sol Jerome2013-06-261-13/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Core: rewrite $HOME after dropping privsChris St. Pierre2013-06-191-0/+6
| |
| * Core: don't unnecessarily set debug to False on server startupChris St. Pierre2013-06-031-1/+2
| |
* | Merge branch 'maint'Chris St. Pierre2013-05-211-0/+4
|\|
| * Core: added more debugging on server shutdownChris St. Pierre2013-05-201-0/+4
| |
| * minor fixes for FAM blockingJason Kincl2013-05-011-1/+1
| |
| * Adding option to force server to wait until all FAM events are processedJason Kincl2013-05-011-0/+5
| |
* | fixed unit testsChris St. Pierre2013-05-201-5/+2
| |
* | Fixing unit testsChris St. Pierre2013-04-251-6/+7
| |
* | Merge branch 'maint'Chris St. Pierre2013-04-241-102/+118
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Perf.py src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/Admin/__init__.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/FileMonitor/Fam.py src/lib/Bcfg2/Server/Lint/RequiredAttrs.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Base.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgPrivateKeyCreator.py src/lib/Bcfg2/Server/Plugins/Cvs.py src/lib/Bcfg2/Server/Plugins/Darcs.py src/lib/Bcfg2/Server/Plugins/Decisions.py src/lib/Bcfg2/Server/Plugins/FileProbes.py src/lib/Bcfg2/Server/Plugins/Fossil.py src/lib/Bcfg2/Server/Plugins/Git.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/NagiosGen.py src/lib/Bcfg2/Server/Plugins/Packages/PackagesSources.py src/lib/Bcfg2/Server/Plugins/Packages/Source.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Properties.py src/lib/Bcfg2/Server/Plugins/__init__.py src/lib/Bcfg2/Server/__init__.py src/sbin/bcfg2-build-reports src/sbin/bcfg2-crypt testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py
| * Core: added docstring for load_pluginsChris St. Pierre2013-04-171-0/+5
| |
| * Core: fixed pylint tests for wildcard importsChris St. Pierre2013-04-161-2/+2
| |
| * Core: load plugins after daemonization so files/dirs created at plugin init ↵Chris St. Pierre2013-04-161-100/+83
| | | | | | | | time have proper permissions
| * Added option to periodically dump performance stats to logsChris St. Pierre2013-03-291-1/+23
| |
| * testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-261-2/+2
| |
| * Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-251-0/+4
| | | | | | | | | | | | | | | | | | * Where possible, create the file or directory that is about to be monitored. This ensures that content can be added later without need to restart Bcfg2. (Otherwise, adding the monitor would fail, and so when you did create the file in question, bcfg2-server would never be notified of it.) * When not possible, give better error messages.
* | Merge branch '1.4.x'Chris St. Pierre2013-04-231-59/+115
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/bcfg2-server.install doc/server/plugins/grouping/metadata.txt src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Tools/Portage.py src/lib/Bcfg2/Client/Tools/RcUpdate.py src/lib/Bcfg2/Client/Tools/YUM24.py src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Client/Tools/launchd.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/models.py src/lib/Bcfg2/Utils.py src/sbin/bcfg2-info src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/Test_init.py testsuite/Testsrc/test_code_checks.py
| * | fixed unit tests for mergeChris St. Pierre2013-02-201-1/+1
| | |
| * | Merge branch 'master' into 1.4.xChris St. Pierre2013-02-201-14/+26
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/contributors.txt schemas/bundle.xsd src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Server/Encryption.py src/lib/Bcfg2/Server/Lint/Genshi.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/Decisions.py src/lib/Bcfg2/Server/Plugins/TemplateHelper.py src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIXUsers.py testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py tools/bcfg2-profile-templates.py
| * | | Added client ACLs:Chris St. Pierre2013-02-121-14/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * IP and CIDR-based ACLs * Metadata (group/hostname)-based ACLs * Documentation * Unit tests
| * | | Added CIDR notation to IP ACLs. Still need to test.Matt Schwager2013-02-121-4/+3
| | | |
| * | | Corrected acceptance of wildcard ('*') in ACL XML file.Matt Schwager2013-02-121-1/+1
| | | |
| * | | IP based ACLs working for CherryPy and Builtin Server. Rudimentary tests ↵Matt Schwager2013-02-121-1/+3
| | | | | | | | | | | | | | | | performed and passed.
| * | | IP based ACLs working for CherryPy Server. Still need to implement ↵Matt Schwager2013-02-121-0/+7
| | | | | | | | | | | | | | | | BuiltinServer and test.