summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'maint'Sol Jerome2013-06-024-4/+67
|\ | | | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: doc/installation/distributions.txt doc/server/snapshots/index.txt src/lib/Bcfg2/Server/Plugin/helpers.py src/sbin/bcfg2-server
| * Cfg: Handle bogus created events as changedMichael Fenn2013-05-241-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is possible for the FAM (gamin in particular) to send a created event for a file that already exists if the file is updated in a particular way. I suppose that the event is technically correct since a new inode really was created, but the file is only changed from bcfg2's point of view. For instance, the "atomic" copy-to-temp-then-move-over-top method that rsync uses will expose this behavior. Example: rsync -a --temp-dir=/var/tmp --delete-after \ --exclude Packages/cache --exclude Packages/keys \ --exclude Reporting/DirectStore --exclude probed.xml \ /var/lib/bcfg2/ $OTHERSERVER:/var/lib/bcfg2
| * tools: make migrate_info.py migrate "perms" ↵Chris St. Pierre2013-05-221-9/+9
| | | | | | | | (http://trac.mcs.anl.gov/projects/bcfg2/ticket/1150)
| * Yum: prevent traceback with empty repositoryChris St. Pierre2013-05-211-2/+2
| |
| * FileProbes: made client probe compatible with bcfg2 1.2Chris St. Pierre2013-05-211-1/+5
| |
| * Packages: don't cache package collections with no sourcesChris St. Pierre2013-05-211-2/+3
| |
* | Merge branch 'maint'Chris St. Pierre2013-05-216-4/+225
|\ \
| * | Packages: don't cache package collections with no sourcesChris St. Pierre2013-05-211-2/+3
| |/
| * bcfg2-admin client: Only load Metadata pluginChris St. Pierre2013-05-201-0/+1
| |
| * Core: added more debugging on server shutdownChris St. Pierre2013-05-202-0/+5
| |
| * added multiprocessing server coreChris St. Pierre2013-05-202-0/+209
| |
* | Encryption: disable more bogus pylint messagesChris St. Pierre2013-05-201-4/+4
| |
* | GroupLogic: Updated for new module-level setup objectChris St. Pierre2013-05-201-11/+3
| |
* | fixed unit testsChris St. Pierre2013-05-205-9/+7
| |
* | cleaned up old references to BundleTemplateFileChris St. Pierre2013-05-203-22/+7
| |
* | Replaced XMLSrc with StructFileChris St. Pierre2013-05-204-243/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XMLSrc and StructFile were very different implementations of basically the same thing. StructFile has gotten lots and lots of improvements, while XMLSrc, with its wonky, unintuitive interface, has floundered. This replaces XMLSrc with StructFile (nearly) everywhere, and rebases everything that inherited from XMLSrc with StructFile. XMLSrc lives on somewhat in the Pkgmgr plugin's PNode and PkgSrc objects, where originally inherited from the XMLSrc and INode objects but are now the only implementation of that older interface. Pkgmgr was left as-is because a) it's a little-used plugin; b) it's in need of a rewrite anyway; and c) it has deep, deep hooks into the guts of XMLSrc and INode, and rewriting it with StructFile was deeply nontrivial.
* | Merge branch 'maint'Chris St. Pierre2013-05-1721-171/+440
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * bcfg2-lint: fixed unit testsChris St. Pierre2013-05-141-1/+1
| |
| * bcfg2-lint: fixed unit testsChris St. Pierre2013-05-141-2/+5
| |
| * doc: added devel docs for bcfg2-lint pluginsChris St. Pierre2013-05-1412-151/+415
| |
| * Lint: Fix Properties Comments checkerSol Jerome2013-05-131-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Lint: Fix for python 3Sol Jerome2013-05-111-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Lint: py3k fixSol Jerome2013-05-101-0/+3
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Packages: handle URLErrors (e.g., timeouts) when downloading GPG keys betterChris St. Pierre2013-05-101-2/+2
| |
| * APT: Allow specification of deb-src lines (Resolves #1148)Sol Jerome2013-05-102-0/+9
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Probes: Fix failing nosetestsSol Jerome2013-05-101-10/+4
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * POSIXUsers: allow better <MemberOf group="foo"/> syntaxChris St. Pierre2013-05-071-2/+1
| |
| * fixed long linesChris St. Pierre2013-05-071-1/+2
| |
| * BuiltinCore: register server instance after plugins are loadedChris St. Pierre2013-05-071-1/+1
| |
| * added remaining required Core.load_plugins() callsChris St. Pierre2013-05-071-0/+1
| |
| * SSHbase: add support for ipv6 addresses in known_hosts fileAlexander Sulfrian2013-05-021-2/+2
| |
| * 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
| |
| * 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
| |
* | Fixing unit testsChris St. Pierre2013-04-2510-37/+31
| |
* | Merge branch 'maint'Chris St. Pierre2013-04-2443-409/+646
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Cfg: removed debuggingChris St. Pierre2013-04-231-2/+1
| |
| * 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
| |
| * Git: fix command debug log without GitPython installedChris St. Pierre2013-04-161-1/+1
| |
| * BuiltinCore: gracefully handle existing lock on pidfileChris St. Pierre2013-04-161-4/+10
| |
| * Core: load plugins after daemonization so files/dirs created at plugin init ↵Chris St. Pierre2013-04-163-105/+91
| | | | | | | | time have proper permissions
| * pep-8: fixed indentation?Chris St. Pierre2013-04-161-2/+2
| |
| * Packages: Fix Apt dependency resolution for py3kSol Jerome2013-04-121-0/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Packages: Read cache files using binary formatSol Jerome2013-04-111-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Packages: Write Packages cache in binary formatSol Jerome2013-04-111-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Probes: Fix pylint errorSol Jerome2013-04-101-1/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * PY3K: Fix client/server to work with python 3Sol Jerome2013-04-104-6/+16
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * SSLCA: fixed parsing of subjectaltnames from cert.xmlChris St. Pierre2013-04-091-1/+1
| |