summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Properties.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'maint'Chris St. Pierre2014-04-251-3/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: misc/bcfg2.spec src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Tools/APK.py src/lib/Bcfg2/Client/Tools/MacPorts.py src/lib/Bcfg2/Client/Tools/Pacman.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Server/Admin/Minestruct.py src/lib/Bcfg2/Server/Admin/Pull.py src/lib/Bcfg2/Server/Admin/Viz.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgPrivateKeyCreator.py src/lib/Bcfg2/Server/Plugins/Properties.py src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt src/sbin/bcfg2-info src/sbin/bcfg2-lint src/sbin/bcfg2-yum-helper testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestCfg/TestCfgEncryptedGenerator.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py
| * do not bruteforce Properties decrypts with unknown passphraseChris St. Pierre2014-04-251-12/+5
| | | | | | | | | | this greatly decreases startup time with lots of data encrypted with missing passphrases
| * reduce logging from failed decryption with decrypt=laxChris St. Pierre2014-04-251-12/+8
| |
* | Merge branch 'maint' into masterSol Jerome2014-04-161-1/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: doc/appendix/guides/import-existing-ssh-keys.txt misc/bcfg2.spec src/lib/Bcfg2/Client/Tools/VCS.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Encryption.py src/lib/Bcfg2/Reporting/Collector.py src/lib/Bcfg2/Reporting/Storage/DjangoORM.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/FileMonitor/__init__.py src/lib/Bcfg2/Server/Lint/RequiredAttrs.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Packages/__init__.py src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt src/sbin/bcfg2-reports src/sbin/bcfg2-yum-helper testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/TestAugeas.py
| * fixed pylint testsChris St. Pierre2014-01-301-1/+2
| |
| * load correct JSON library on py2.4Chris St. Pierre2014-01-291-1/+2
| |
| * Encryption: reduce noise from encryption failures when decrypt=laxChris St. Pierre2013-07-151-1/+1
| |
* | Plugins: refactored out unnecessary datastore constructor argumentChris St. Pierre2013-10-291-2/+2
| |
* | Options: migrated plugins to new options parserChris St. Pierre2013-06-271-9/+12
| |
* | fixed unit testsChris St. Pierre2013-05-201-1/+0
| |
* | Merge branch 'maint'Chris St. Pierre2013-04-241-25/+14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-251-27/+15
| | | | | | | | | | | | | | | | | | * 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.
| * Properties: fixed lax/strict decryption setting with no crypto libs installedChris St. Pierre2013-01-181-21/+19
| |
* | moved some libraries in Bcfg2/ into more specific (Server/ or Client/) placesChris St. Pierre2013-02-051-5/+0
| |
* | added a module-level FAM object to avoid passing it as an argument a billion ↵Chris St. Pierre2013-01-171-15/+13
| | | | | | | | times
* | abstracted encryption support from Properties/CfgPrivateKeyCreator to StructFileChris St. Pierre2013-01-171-43/+0
| |
* | added module-level OptionParser to avoid passing it as an argument or global ↵Chris St. Pierre2013-01-171-14/+8
|/ | | | all over
* Made a few encryption things simpler:Chris St. Pierre2013-01-171-19/+18
| | | | | | * 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-12/+12
|
* Properties: fix edge case where value is decrypted with the wrong key to ↵Chris St. Pierre2012-12-171-3/+7
| | | | | | produce gibberish cf. 735b66606e25b20089b653977c23115e30170a1f
* Properties: allow lax decryption, where failure to decrypt an element is not ↵Chris St. Pierre2012-11-061-2/+10
| | | | fatal and parsing of that file continues
* improved error messages during failed decryptionChris St. Pierre2012-10-241-8/+5
|
* added support for JSON and YAML properties filesChris St. Pierre2012-10-151-23/+206
|
* wrote unit tests for PropertiesChris St. Pierre2012-09-271-3/+4
|
* run pylint for errors on almost everything, full runs on some selected stuffChris St. Pierre2012-09-251-8/+11
|
* Encryption: improved docs, made algorithm configurableChris St. Pierre2012-09-201-25/+36
|
* Properties: made automatch in bcfg2.conf a default, not absolute; cleaned up ↵Chris St. Pierre2012-09-131-4/+7
| | | | docs
* bcfg2-info: added "automatch" command to perform Properties automatchingChris St. Pierre2012-09-121-2/+3
|
* Properties: fixed bug in xpath for finding encrypted elementsChris St. Pierre2012-09-111-7/+4
|
* Cfg: documented all Cfg modules, added development docsChris St. Pierre2012-09-111-11/+2
|
* Properties: Ignore schema filesSol Jerome2012-08-291-0/+1
| | | | | | | This prevents us from spamming the logs when the user has corresponding schema files. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed lxml.etree.tostring invocationsChris St. Pierre2012-08-221-3/+4
|
* lots of various py3k fixesChris St. Pierre2012-08-211-0/+1
|
* unified [Single]XMLFileBacked, enabled xinclude pretty much everywhereChris St. Pierre2012-06-251-3/+0
|
* added ability to disable Properties write-backChris St. Pierre2012-06-191-20/+28
|
* added automatch to automatically invoke XMLMatch() on Properties filesChris St. Pierre2012-06-191-2/+10
|
* fixed decryption of Properties filesChris St. Pierre2012-06-191-6/+7
|
* added support for encrypting different elements in a single Properties file ↵Chris St. Pierre2012-06-151-15/+14
| | | | with different passphrases
* added properties element encryptionChris St. Pierre2012-06-061-1/+57
| | | | added bcfg2-crypt utility for encrypting Properties and Cfg files
* Allow to run directly from a git checkout (#1037)Sol Jerome2012-03-241-0/+76
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>