summaryrefslogtreecommitdiffstats
path: root/tools/upgrade
Commit message (Collapse)AuthorAgeFilesLines
* Rewrote SSLCA as Cfg handler.Chris St. Pierre2013-08-132-1/+49
| | | | | | | | | | | | | | | | | This adds encryption support to SSL key creation (much like SSH private keys), and the ability to generate keys and certs that are specific to groups, instead of just to hosts. It also moves the SSLCA data (the XML files describing keys and certs as well as the keys and certs themselves) into the Cfg tree, rather than off in their own separate place. tools/upgrade/1.4/migrate_sslca.py can be used to migrate to the new format. This also adds XMLCfgCreator, a CfgCreator that makes it easier to create data based on XML descriptions of it (which is exactly what the SSH key and SSL CA creators do), including built-in support for host- and group-specific data, encryption, and so on.
* tools: fixed unit testsChris St. Pierre2013-08-091-2/+3
|
* Options: migrated tools to new parserChris St. Pierre2013-06-2711-82/+134
|
* Merge branch 'maint'Sol Jerome2013-06-023-1/+78
|\ | | | | | | | | | | | | | | | | | | 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
| * Merge pull request #81 from kincl/jasons-hackingChris St. Pierre2013-05-282-0/+73
| |\ | | | | | | Upgrade script to move from XML to DB for Probes
| | * adding docJason Kincl2013-05-222-0/+10
| | |
| | * 1.3 Upgrade Tools: Added script to facilitate upgrading from Probe XML to ↵Jason Kincl2013-05-221-0/+63
| | | | | | | | | | | | database backend
| * | tools: make migrate_info.py migrate "perms" ↵Chris St. Pierre2013-05-221-1/+5
| |/ | | | | | | (http://trac.mcs.anl.gov/projects/bcfg2/ticket/1150)
* | Merge branch 'maint'Chris St. Pierre2013-05-171-10/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * tools: pylint/pep8 fixesSol Jerome2013-05-101-10/+9
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'maint'Chris St. Pierre2013-04-241-2/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * tools: write all changed files when migrating perms to modeChris St. Pierre2013-04-161-2/+3
| |
* | Merge branch '1.4.x'Chris St. Pierre2013-04-232-0/+88
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+9
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 README for 1.4 upgrade toolsChris St. Pierre2013-02-051-0/+6
| | |
| * | Decisions: use StructFile instead of host- or group-specific XML filesChris St. Pierre2013-02-051-0/+82
| | |
* | | migrate_dbstats: Fix traceback found by jontenSol Jerome2013-03-221-0/+3
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | migrate_perms_to_mode.py: handle info.xml files for SSLCAChris St. Pierre2013-03-211-1/+1
| | |
* | | migrate_perms_to_mode.py: gracefully handle unparseable XML filesChris St. Pierre2013-03-201-2/+12
| | |
* | | migrate_perms_to_mode.py: really seriously handle nested Path tagsChris St. Pierre2013-03-201-1/+1
| | |
* | | migrate_perms_to_mode.py: migrate SSHbase/info.xmlChris St. Pierre2013-03-201-1/+1
| | |
* | | migrate_info.py: fixed import of info/:info parsing regexChris St. Pierre2013-03-151-2/+4
| | |
* | | migrate_perms_to_mode.py: fixed migration of nested BoundPath entries in bundlesChris St. Pierre2013-03-151-3/+1
| |/ |/|
* | add old schema to migrationTim Laszlo2013-01-291-0/+9
|/
* Reporting: Allow interactions without a profileTim Laszlo2012-10-291-6/+0
|
* tools: Add migrate_perms_to_mode toolSol Jerome2012-10-262-0/+72
| | | | | | | Helps users to migrate their repositories from the perms attribute to mode. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* migrate_info: Remove trailing whitespaceSol Jerome2012-10-261-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Default to a url friendly group nameTim Laszlo2012-10-171-1/+1
|
* add a higher timeout for caching certain objectsTim Laszlo2012-10-171-1/+1
|
* Revert "migrate_db: skip db lookup since all should be known"Tim Laszlo2012-10-171-5/+5
| | | | | | | | | This caused data duplication on migration. This reverts commit 9707ee8e4c495133f329000d3e5b89d8b84e5998. Conflicts: src/lib/Bcfg2/Reporting/models.py
* Remove perms use in migrate_dbstats.pyTim Laszlo2012-10-171-1/+1
|
* migrate_db: skip db lookup since all should be knownTim Laszlo2012-10-151-5/+5
|
* migrate_db: add timing for importsTim Laszlo2012-10-151-1/+8
|
* migrate_db: set the current interaction after importTim Laszlo2012-10-151-0/+8
|
* migrate: create FilePerms objects earlyTim Laszlo2012-10-121-17/+38
|
* Remove unnecessary transaction.commit_manuallyTim Laszlo2012-10-121-1/+0
|
* migration: fetch metadata in the main queryTim Laszlo2012-10-121-3/+3
|
* migrate: switch to BatchFetch and bypass save() overrideTim Laszlo2012-10-111-2/+4
|
* added migrate_dbstats.py to 1.3 upgrade tools READMEChris St. Pierre2012-10-091-0/+3
|
* made migrate_dbstats.py executableChris St. Pierre2012-10-091-0/+2
|
* add unknown group to groupsTim Laszlo2012-10-091-0/+1
|
* Reporting: Add a migration script for DBStats dataTim Laszlo2012-10-081-7/+29
|
* Admin.Reports: stop calling __call__ in parent classTim Laszlo2012-10-081-0/+230
|
* fixed up tools documentation, added tests for tools docoChris St. Pierre2012-09-043-0/+29
|
* renamed Bcfg2Py3k to CompatChris St. Pierre2012-08-272-2/+2
|
* added tool to convert from :info/info to info.xmlChris St. Pierre2012-08-151-0/+45
|
* updated migrate_configs.py to handle reports config changesChris St. Pierre2012-08-071-6/+36
|
* service_modes upgrade script upgrades Rules and Defaults pluginsChris St. Pierre2012-06-061-1/+5
|
* re-rationalized service modes to make them more consistent and granularChris St. Pierre2012-06-051-0/+46
|
* moved plugin-specific configs to main config file; propagate "setup" object ↵Chris St. Pierre2012-05-114-0/+361
to server Core