summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Cfg
Commit message (Collapse)AuthorAgeFilesLines
* Cfg: let EncryptedGenerator load setup object whenever the plugin is importedChris St. Pierre2013-12-091-3/+6
| | | | | | | Previously, if CfgEncryptedGenerator was imported before the Cfg object was instantiated, it would finalize the Bcfg2.Server.Plugins.Cfg.SETUP object with a value of None, and would be unable to access the options dict.
* CfgPublicKeyCreator: properly handle case where only private key has been ↵Chris St. Pierre2013-09-162-25/+44
| | | | | | | | | created Previously, only two cases were handled properly: both public and private keys had been created; or neither had been created. If the private key had been created (e.g., manually added to the repo), the public key would not be created from it. This fixes that.
* bcfg2-lint: Added Cfg check for multiple global handlers for one entry setChris St. Pierre2013-09-091-1/+17
|
* Cfg: allow changing category specific-ness of generated authorized_keysChris St. Pierre2013-09-091-3/+3
|
* Cfg: Give non-specific handlers a default specificityChris St. Pierre2013-09-091-0/+2
|
* Cfg: More flexible and complete way to specify authorized keys optionsChris St. Pierre2013-09-041-4/+13
|
* Cfg: added missing docstringChris St. Pierre2013-07-231-0/+4
|
* Cfg: unknown-cfg-files lint check honors FAM ignore listChris St. Pierre2013-07-231-6/+22
|
* Encryption: reduce noise from encryption failures when decrypt=laxChris St. Pierre2013-07-151-1/+1
|
* Cfg: Fixed and documented .cat and .diff file behavior with host-specific ↵Chris St. Pierre2013-06-141-8/+17
| | | | base file
* lint: check for files in Cfg/ that aren't handled by CfgChris St. Pierre2013-06-031-21/+62
|
* 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
* Cfg: removed debuggingChris St. Pierre2013-04-231-2/+1
|
* PY3K: Fix client/server to work with python 3Sol Jerome2013-04-101-0/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed regex errors introduced by 6c996f42c53a36fc0406f836d64b8c1bec6f4bccChris St. Pierre2013-03-261-2/+2
|
* testsuite: fixed issues found by latest version of pylintChris St. Pierre2013-03-262-6/+6
|
* testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-262-6/+5
|
* better error message when rendering a template that failed to parseChris St. Pierre2013-02-211-0/+4
|
* fixed checking Genshi templates for comments (#1141)Chris St. Pierre2013-02-141-0/+1
|
* fixed unit testsChris St. Pierre2013-02-131-7/+4
|
* Cfg: better error handling from verifiers, :testChris St. Pierre2013-02-082-7/+14
|
* Made a few encryption things simpler:Chris St. Pierre2013-01-171-2/+4
| | | | | | * Only one strict/lax setting, in [encryption], rather than separate settings in [properties] and [sshkeys] * No longer necessary to enable encryption on each Properties file
* testsuite: fixed tests for decryption in Properties/CfgPrivateKeyCreatorChris St. Pierre2013-01-161-1/+1
|
* Cfg: Revert change from 10326a34Sol Jerome2013-01-081-1/+1
| | | | | | This change broke altsrc entries. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Cfg: handle filenames with regex special characters properlyChris St. Pierre2013-01-071-1/+2
|
* Cfg: fixed existing Cfg bcfg2-lint plugin, added plugin to check for ↵Chris St. Pierre2013-01-031-23/+60
| | | | privkey.xml without pubkey.xml
* Cfg: Added feature to provide generation of SSH keys, authorized_keys fileChris St. Pierre2013-01-034-20/+497
|
* Cfg: added creator handler to perform one-time creation of static dataChris St. Pierre2012-12-203-59/+159
|
* fixed line length in Cfg docsChris St. Pierre2012-12-041-21/+19
|
* doc: wrote devel docs for client tool base objectsChris St. Pierre2012-12-041-5/+6
|
* fixed conversion to octal in py3kChris St. Pierre2012-12-041-2/+3
|
* Cfg: Fixed bugs in Genshi error handling:Chris St. Pierre2012-11-291-11/+54
| | | | | * Find the correct frame of the stack trace if the exception is raised by something outside the template * Determine if the version of Genshi in use strips all blank lines or not to correctly locate the line of the error
* avoid odd edge case in genshi error handlingChris St. Pierre2012-11-261-3/+7
|
* Templating updates:Chris St. Pierre2012-11-192-3/+7
| | | | | | * Added "repo" variable to all template formats * Made variables available in Genshi and Cheetah template more similar * Improved docs
* Cfg: improved error messagesChris St. Pierre2012-11-138-65/+27
|
* Cfg: prevent genshi loader from caching templatesChris St. Pierre2012-11-131-4/+1
|
* improved error messages during failed decryptionChris St. Pierre2012-10-242-4/+7
|
* CfgLegacyInfo: Move the dict outside of the for loopTim Laszlo2012-10-171-7/+6
|
* assigned Cfg handlers explicit priorities to avoid over-zealous regex matchesChris St. Pierre2012-10-177-3/+36
|
* Plugins: Update builtin plugins to use 'mode' attributeSol Jerome2012-10-152-7/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reporting: Merge new reporting dataTim Laszlo2012-10-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move reporting data to a new schema Use south for django migrations Add bcfg2-report-collector daemon Conflicts: doc/development/index.txt doc/server/plugins/connectors/properties.txt doc/server/plugins/generators/packages.txt setup.py src/lib/Bcfg2/Client/Tools/SELinux.py src/lib/Bcfg2/Compat.py src/lib/Bcfg2/Encryption.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Init.py src/lib/Bcfg2/Server/Admin/Reports.py src/lib/Bcfg2/Server/BuiltinCore.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/FileMonitor/Inotify.py src/lib/Bcfg2/Server/Plugin/base.py src/lib/Bcfg2/Server/Plugin/interfaces.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py src/lib/Bcfg2/Server/Plugins/FileProbes.py src/lib/Bcfg2/Server/Plugins/Ohai.py src/lib/Bcfg2/Server/Plugins/Packages/Collection.py src/lib/Bcfg2/Server/Plugins/Packages/Source.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Packages/__init__.py src/lib/Bcfg2/Server/Plugins/Probes.py src/lib/Bcfg2/Server/Plugins/Properties.py src/lib/Bcfg2/Server/Reports/backends.py src/lib/Bcfg2/Server/Reports/manage.py src/lib/Bcfg2/Server/Reports/nisauth.py src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt src/sbin/bcfg2-yum-helper testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestSEModules.py
* Cfg: fixed regexes for handling and ignoring files with different Cfg handlersChris St. Pierre2012-10-031-39/+17
|
* Cfg: fixed some issues with genshi error handlingChris St. Pierre2012-10-031-2/+2
|
* testsuite: added unit tests for Cfg handlersChris St. Pierre2012-10-027-24/+27
|
* Cfg: deprecated perms="inherit"Chris St. Pierre2012-10-021-0/+2
|
* testsuite: unit tests for Cfg plugin and base handlersChris St. Pierre2012-10-021-100/+124
|
* run pylint for errors on almost everything, full runs on some selected stuffChris St. Pierre2012-09-258-116/+144
|
* Encryption: improved docs, made algorithm configurableChris St. Pierre2012-09-203-23/+40
|
* Cfg: documented all Cfg modules, added development docsChris St. Pierre2012-09-1112-96/+444
|
* Documented all plugin helper objectsChris St. Pierre2012-09-061-1/+0
|