summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Metadata.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'maint'Chris St. Pierre2013-08-081-13/+22
|\ | | | | | | | | | | | | | | | | | | | | | | 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
| * Plugin: added new Caching interfaceChris St. Pierre2013-08-071-1/+6
| | | | | | | | | | | | | | 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.
| * Get profile by building metadata instead of guessingMichael Fenn2013-08-061-6/+9
| | | | | | | | | | | | Rather than doing some ad-hoc lookups of internal data structures stpierre suggested that it'd be better to use the normal metadata build procedures. This implements that and adjusts the tests.
| * Make updating the structures conditional on profile changingMichael Fenn2013-08-051-6/+6
| | | | | | | | | | | | Based on the expectations of the tests, I am reasonably confident that updating the in memory structures is logically part of changing the client's profile so I put it in the if block
| * Found a stray write that should be part of the new client caseMichael Fenn2013-08-051-2/+2
| |
| * Make pylint happyMichael Fenn2013-08-051-1/+1
| |
| * Metadata: Don't update XML on gratuitous profile updateMichael Fenn2013-08-051-2/+3
| | | | | | | | | | | | | | | | | | Check to see if the profile that is being set by set_profile exactly matches the existing profile list. If it does, then avoid writing out a new clients.xml. This simple optimization reduces the amount of clients.xml rewriting that occurs if you have a bunch of clients running bcfg2 -p at the same time (for example, during a cluster rebuild).
* | Merge branch 'maint'Sol Jerome2013-07-181-3/+2
|\| | | | | | | | | | | | | | | | | 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
| * Metadata: fixed long lineChris St. Pierre2013-07-091-2/+2
| |
| * Core: Gracefully handle failure to add client without default groupChris St. Pierre2013-07-091-5/+4
| |
* | Merge branch 'maint'Sol Jerome2013-07-081-2/+3
|\| | | | | | | | | | | Conflicts: src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt
| * Metadata: fixed docstring typoChris St. Pierre2013-07-031-1/+1
| |
| * Metadata: Make pylint happySol Jerome2013-06-271-1/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Plugins/Metadata: fix resolution for ipv4-in-ipv6 addresses like ↵Alexander Sulfrian2013-06-271-1/+1
| | | | | | | | ::ffff:127.0.0.1
* | Merge branch 'maint'Chris St. Pierre2013-06-271-0/+2
|\| | | | | | | | | | | | | | | | | 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
| * do not create data directories for plugins that don't need themChris St. Pierre2013-06-131-0/+2
| |
* | Merge branch 'maint'Chris St. Pierre2013-05-211-0/+6
|\|
| * added multiprocessing server coreChris St. Pierre2013-05-201-0/+6
| |
* | Merge branch 'maint'Chris St. Pierre2013-05-171-34/+50
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/guides/centos.txt doc/server/plugins/grouping/metadata.txt setup.py src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Client/Proxy.py src/lib/Bcfg2/Server/Lint/Genshi.py src/lib/Bcfg2/Server/Lint/Validate.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/SSHbase.py src/sbin/bcfg2-lint
| * doc: added devel docs for bcfg2-lint pluginsChris St. Pierre2013-05-141-31/+45
| |
| * fixed pylint testChris St. Pierre2013-05-011-1/+2
| |
| * Metadata: don't require all profile groups to be public when using metadata dbChris St. Pierre2013-05-011-3/+4
| |
* | Merge branch 'maint'Chris St. Pierre2013-04-241-56/+89
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Metadata: create clients when version is declared (if necessary)Chris St. Pierre2013-03-271-20/+14
| |
| * testsuite: more text fixesChris St. Pierre2013-03-261-0/+1
| |
| * testsuite: fixed more unit test stuffChris St. Pierre2013-03-261-1/+1
| |
| * testsuite: fixed issues found by latest version of pylintChris St. Pierre2013-03-261-0/+1
| |
| * testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-261-6/+6
| |
| * Metadata: fixed setting default group when appropriateChris St. Pierre2013-03-261-32/+36
| |
| * Metadata: apply default group consistently on first and subsequent client runsChris St. Pierre2013-03-261-0/+5
| |
| * bcfg2-lint: only check clients.xml things if clients.xml is in useChris St. Pierre2013-03-261-0/+9
| |
| * bcfg2-lint: added check to ensure that default group is a profile groupChris St. Pierre2013-03-261-1/+13
| |
| * Metadata: better stringification of ClientMetadata objects for debuggingChris St. Pierre2013-03-261-0/+5
| |
| * Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-251-1/+3
| | | | | | | | | | | | | | | | | | * 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-4/+4
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Merge branch 'master' into 1.4.xChris St. Pierre2013-02-201-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Metadata: process default client bootstrap mode properlyChris St. Pierre2013-02-141-8/+7
| | |
| * | Metadata: allowed setting global default authentication typeChris St. Pierre2013-02-141-20/+12
| | |
| * | moved common file locking code into Bcfg2.UtilsChris St. Pierre2013-02-141-10/+2
| | |
| * | added a module-level FAM object to avoid passing it as an argument a billion ↵Chris St. Pierre2013-01-171-4/+4
| | | | | | | | | | | | times
* | | doc: write and use proper sphinx docs for MetadataQuery/ClientMetadata classesChris St. Pierre2013-03-221-11/+104
| | |
* | | Merge branch '1.3.2' into maintChris St. Pierre2013-03-211-38/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Metadata: fixed typoChris St. Pierre2013-03-081-1/+1
| | | |
| * | | Metadata: process default client bootstrap mode properlyChris St. Pierre2013-02-141-8/+7
| | | |
| * | | Metadata: allowed setting global default authentication typeChris St. Pierre2013-02-141-20/+12
| | | |
| * | | moved common file locking code into Bcfg2.UtilsChris St. Pierre2013-02-141-10/+2
| | |/ | |/|
* / | Metadata: prevent overwriting of clients.xml with xincludeChris St. Pierre2013-02-211-1/+1
|/ /
* / bcfg2-lint: Fixed erroneous detection of multiple default groups (#1142)Chris St. Pierre2013-02-141-1/+1
|/
* generate XML schema docs from XML schemas themselvesChris St. Pierre2012-12-101-7/+5
|
* Metadata: improved error message from address resolution failure during ↵Chris St. Pierre2012-11-081-3/+4
| | | | client authn