summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/settings.py
Commit message (Collapse)AuthorAgeFilesLines
* add old schema to migrationTim Laszlo2013-01-291-0/+2
|
* fix pylint unit test errorsChris St. Pierre2012-10-091-14/+14
|
* Remove hardcoded DEBUG = TrueTim Laszlo2012-10-081-1/+0
|
* Reporting: Merge new reporting dataTim Laszlo2012-10-081-3/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* settings: Fix variable usageSol Jerome2012-09-251-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* expanded pylint coverageChris St. Pierre2012-09-251-10/+17
|
* Corrected template loader versionTim Laszlo2012-09-211-1/+1
|
* reports: Update TEMPLATE_LOADERS for older versions of DjangoTim Laszlo2012-09-211-4/+10
|
* settings: Fix django webapp for 1.4 (#1121)Sol Jerome2012-09-031-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Bcfg2.settings: Fixed config file reading:Chris St. Pierre2012-08-281-8/+26
| | | | | | | | | | | | | | | | | | | | * If -W is given on the command line, the config file given by -W is read. * If /etc/bcfg2-web.conf does not exist, and -C was given on the command line, the config file given by -C is read. * If /etc/bcfg2-web.conf does not exist and -C was not given on the command line, the default /etc/bcfg2.conf is read. * If /etc/bcfg2-web.conf exists, and neither -W nor -C was given on the command line, then /etc/bcfg2-web.conf is read. This will produce errors if: * A bogus (non-existent, unreadable) file was given by -W; or * A bogus file was given by -C and /etc/bcfg2-web.conf does not exist; or * No -W was given and /etc/bcfg2-web.conf exists but is unreadable; or * No -W was given, /etc/bcfg2-web.conf does not exist, and /etc/bcfg2.conf is bogus.
* fixed Bcfg2.settings if django not availableChris St. Pierre2012-08-201-1/+1
|
* Bcfg2.settings: bcfg2-web.conf is the default, unless bcfg2-web.conf doesn't ↵Chris St. Pierre2012-08-161-18/+12
| | | | exit and bcfg2.conf does
* Django: Prevent DeprecationWarningSol Jerome2012-08-141-1/+1
| | | | | | | DeprecationWarning: Short names for ENGINE in database configurations are deprecated. Prepend default.ENGINE with 'django.db.backends.' Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge reporting configuration with main server configurationTim Laszlo2012-08-071-10/+101
| | | | | | Admin/Syncdb: Use SchemaUpdater Move the schema update routines from reports to Bcfg2.Server Move Reports.settings into Bcfg2.settings
* unified Metadata/DBMetadata pluginsChris St. Pierre2012-07-311-3/+8
| | | | made django optional
* Metadata and other improvements:Chris St. Pierre2012-07-301-0/+71
* Added support for Client tag in groups.xml * Added support for nested Group tags in groups.xml * Added support for negated groups in groups.xml * Added DatabaseBacked plugin mixin to easily allow plugins to connect to a database specified in global database settings in bcfg2.conf * Added DBMetadata plugin that uses relational DB to store client records instead of writing to clients.xml