summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Version bump to 1.4.0pre2Sol Jerome2015-11-131-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* tools/upgrade: Fix checking for related fieldsAlexander Sulfrian2015-09-291-7/+9
| | | | | If we check for the existance of a related object, newer django versions (>= 1.5) raise a ObjectDoesNotExist exception and we have to handle it.
* Reporting: Do not use django.db.backend in newer django versionsAlexander Sulfrian2015-09-231-6/+11
| | | | | | The private API django.db.backend is deprecated in django 1.7 and removed in django 1.8, so we use another way to get the DatabaseOperations from the connection.
* tools/upgrade: Support multiple databasesAlexander Sulfrian2015-09-231-3/+5
| | | | | Do not use the global django connection object but the matching instance from the django connections list.
* tools/upgrade: Parse the Options before using djangoAlexander Sulfrian2015-09-231-2/+3
| | | | | | We need to go through the Options parsing before we could use django and import the models. The Options parsing will setup django and prepare the required settings.
* tools: components of a Options parser sould be a listAlexander Sulfrian2015-07-201-1/+1
|
* tools: Fix issue introduced in cd14868d with new parser for OptionsAlexander Sulfrian2015-07-202-6/+10
| | | | | | The new parser creates the the full plugin classes out of the options, so we need to use the __name__ attribute to get the name of the plugin and the directory containing the files in the repository.
* Merge branch 'maint'Alexander Sulfrian2014-11-122-0/+55
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/changelog doc/conf.py doc/releases/index.txt doc/server/database.txt doc/server/plugins/generators/cfg.txt doc/server/plugins/generators/sslca.txt man/bcfg2.conf.5 misc/bcfg2-selinux.spec misc/bcfg2.spec osx/Makefile osx/macports/Portfile schemas/packages.xsd solaris-ips/MANIFEST.bcfg2-server.header solaris-ips/MANIFEST.bcfg2.header solaris-ips/Makefile solaris-ips/pkginfo.bcfg2 solaris-ips/pkginfo.bcfg2-server solaris/Makefile solaris/pkginfo.bcfg2 solaris/pkginfo.bcfg2-server src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Proxy.py src/lib/Bcfg2/Client/Tools/APT.py src/lib/Bcfg2/Client/Tools/Action.py src/lib/Bcfg2/Client/Tools/SYSV.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Reporting/Collector.py src/lib/Bcfg2/Reporting/templates/base.html src/lib/Bcfg2/Server/Admin/__init__.py src/lib/Bcfg2/Server/BuiltinCore.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugins/Packages/Apt.py src/lib/Bcfg2/Server/Plugins/Probes.py src/lib/Bcfg2/settings.py src/lib/Bcfg2/version.py testsuite/Testsrc/Testlib/TestClient/TestTools/Test_init.py testsuite/Testsrc/test_code_checks.py
| * SYSV: add a migration tool to change simplename attributes to simplefileMichael Fenn2014-11-072-0/+55
| |
* | Version bump to 1.4.0pre1v1.4.0pre1Sol Jerome2014-06-161-4/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'maint' into masterSol Jerome2014-04-161-39/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * export.py: No longer need escaped %Sol Jerome2014-02-201-2/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * export.py: Fix Source0 for changes in c5ad7f0eSol Jerome2014-02-181-2/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * misc/bcfg2.spec: Remove upstream release commentsSol Jerome2013-12-161-37/+0
| | | | | | | | | | | | | | | | We don't need to make changelog edits every time there's a new release. This just clutters up the changelog without adding any useful information. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'maint'Chris St. Pierre2013-12-091-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/guides/fedora.txt misc/bcfg2.spec schemas/types.xsd src/lib/Bcfg2/Encryption.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Client.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Lint/Validate.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py src/lib/Bcfg2/Server/Plugins/Probes.py src/sbin/bcfg2-crypt testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestCfg/TestCfgEncryptedGenerator.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py testsuite/common.py testsuite/install.sh
| * bcfg2.spec: Remove unnecessary replacementSol Jerome2013-11-181-1/+1
| | | | | | | | | | | | | | Our cron job is smart enough to work in any libexec directory. These replacements are unnecessary. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'maint'Chris St. Pierre2013-11-121-4/+4
|\| | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Admin/Reports.py src/lib/Bcfg2/Server/Hostbase/hostbase/urls.py src/lib/Bcfg2/Server/Hostbase/urls.py src/sbin/bcfg2-crypt tools/upgrade/1.3/migrate_dbstats.py
| * Fix compatibility with Django 1.6.Simon Ruderich2013-11-111-4/+5
| |
* | Merge branch 'maint'Chris St. Pierre2013-11-113-18/+52
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Admin/Compare.py src/lib/Bcfg2/Server/Admin/Snapshots.py src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugins/Probes.py src/sbin/bcfg2-crypt src/sbin/bcfg2-reports tools/upgrade/1.3/migrate_configs.py tools/upgrade/1.3/migrate_perms_to_mode.py
| * tools: skip ignored files (e.g., .svn) in migrate_perms_to_mode (from Matt ↵Chris St. Pierre2013-11-081-1/+14
| | | | | | | | Baker)
| * tools: fix incorrect reference to config file in migrate_configs.py (from ↵Chris St. Pierre2013-11-081-4/+4
| | | | | | | | Matt Baker)
| * export: Add missing newlines for solaris manifestsSol Jerome2013-11-061-2/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * export: Fix pre/rc behavior for spec filesSol Jerome2013-11-061-15/+32
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * export: Fix Release bugSol Jerome2013-11-061-0/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * removed unused redhat specfile, export.shChris St. Pierre2013-11-063-69/+1
| |
* | DB: fixed how Django settings are loadedChris St. Pierre2013-10-302-12/+16
| |
* | removed obsolete export.sh toolChris St. Pierre2013-10-282-53/+0
| |
* | removed old redhat build specfile and associated cruftChris St. Pierre2013-10-281-16/+1
| |
* | Merge branch 'maint'Chris St. Pierre2013-09-231-1/+9
|\| | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Plugins/GroupLogic.py src/lib/Bcfg2/Server/Plugins/Metadata.py tools/posixusers_baseline.py
| * posixusers_baseline.py: Handle users with nonexistent primary groupsChris St. Pierre2013-09-171-3/+8
| |
* | tools: Fix bash completionSol Jerome2013-09-061-3/+19
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'maint'Chris St. Pierre2013-09-041-1/+4
|\| | | | | | | | | | | | | | | | | | | Conflicts: doc/client/tools/actions.txt schemas/authorizedkeys.xsd src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Bundler.py testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py
| * bcfg2_local.py: Fixed addresspair portChris St. Pierre2013-09-041-1/+4
| |
* | Merge branch 'maint'Sol Jerome2013-09-012-0/+184
|\| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Server/BuiltinCore.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/NagiosGen.py src/lib/Bcfg2/Server/Plugins/Probes.py src/lib/Bcfg2/Server/SSLServer.py tools/README
| * tools: added git_commit.py scriptChris St. Pierre2013-08-142-1/+184
| |
* | 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-092-6/+3
| |
* | Merge branch 'options-rewrite'Chris St. Pierre2013-08-0815-332/+193
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Init.py src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/BuiltinCore.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugin/base.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Cfg/__init__.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Packages/__init__.py src/lib/Bcfg2/Server/SSLServer.py src/lib/Bcfg2/Utils.py src/lib/Bcfg2/settings.py src/sbin/bcfg2-crypt src/sbin/bcfg2-info src/sbin/bcfg2-lint src/sbin/bcfg2-test src/sbin/bcfg2-yum-helper tools/bcfg2-profile-templates.py
| * | Options: migrated tools to new parserChris St. Pierre2013-06-2714-194/+193
| | |
| * | Options: migrated bcfg2-info to new parserChris St. Pierre2013-06-271-138/+0
| | |
* | | Merge branch 'maint'Sol Jerome2013-07-182-2/+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
| * Core: apply FAM blocking option to all commands that start a serverChris St. Pierre2013-07-092-2/+2
| |
* | Merge branch 'maint'Chris St. Pierre2013-06-272-9/+48
|\| | | | | | | | | | | | | | | | | 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
| * Revert "Core: properly handle Ctrl-C"Sol Jerome2013-06-261-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 4568c44372c99ba809826e016680da9b881bd8e8. Trying to handle ^c in the core is difficult and can break STDOUT for interactive programs that invoke the core. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: src/lib/Bcfg2/Server/Core.py src/sbin/bcfg2-test tools/bcfg2-profile-templates.py
| * export: Update all solaris-ips versionsSol Jerome2013-06-051-15/+30
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Update export.py to version tag IPS manifestsDan Foster2013-06-021-0/+9
| |
* | 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