summaryrefslogtreecommitdiffstats
path: root/config-db/OpenSLX
Commit message (Collapse)AuthorAgeFilesLines
* * changed meaning of groups.priority such that it corresponds with sortingOliver Tappe2007-11-292-2/+30
| | | | | | | order (0 means highest, 99 means lowest) * added method for getting the column names of a specific table git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1412 95ad53e4-c205-0410-b2fa-d234c58c8868
* * started to work on configDB-testsOliver Tappe2007-11-093-90/+92
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1407 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added new DB-field attr_ramfs_miscmods to system tableOliver Tappe2007-10-051-2/+3
| | | | | | | | | | | * added support to slxconfig-demuxer for passing attr_ramfs_miscmods to mkdxsinitrd, such that it will be asked to copy the miscellaneous modules, too. N.B.: However this does not seem to work for vesafb, as the result was an empty directory 'vesafb.ko' in the initramfs. Does not seem right to me, at least ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1371 95ad53e4-c205-0410-b2fa-d234c58c8868
* * now makes use of readPassword() from Utils.pmOliver Tappe2007-09-231-5/+2Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1343 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug that caused slxos-export to complain about theOliver Tappe2007-08-161-2/+2
| | | | | | missing function start_transaction() git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1323 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed several default-system and -client related bugs introduced yesterday,Oliver Tappe2007-08-031-17/+18
| | | | | | which rendered the slxconfig-demuxer pretty useless git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1311 95ad53e4-c205-0410-b2fa-d234c58c8868
* * some layout fixes to PODOliver Tappe2007-08-021-0/+18
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1307 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added POD to ConfigDB, and did some fixes along the wayOliver Tappe2007-08-022-85/+1579
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1306 95ad53e4-c205-0410-b2fa-d234c58c8868
* * ConfigDB-objects now reuse active DB-connections in order to reduce theOliver Tappe2007-08-011-130/+145
| | | | | | | | number of times any script asks for the db-password (and to reduce the number of used resources, too). * minor cleanup in slxconfig-demuxer git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1302 95ad53e4-c205-0410-b2fa-d234c58c8868
* * dropped support for CSV databases, as they are simply not good enoughOliver Tappe2007-07-313-187/+16Star
| | | | | | | | | | | | * added support for db-user and db-passwd: + the mysql backend will now ask for the password upon connect + you can specify the db-user and db-passwd via slxsettings (so you never have to enter it manually afterwards) * slxsettings now checks db-type against an explicit pattern to avoid problems caused by typos git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1295 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Fixed another bug reported by Bastian:Oliver Tappe2007-07-311-20/+20
| | | | | | | | | | | | | Default-client & -system recognition was dependant on the ID 0, which is not really possible with mysql (I do not count changing the server-global variable autoincrement_offset as an option). Now, we simply use the name instead. * changed slxconfig to reflect the direct relations between systems and clients, not the aggregated ones, as I found it confusing this way (slxconfig is rather a low-level tool). * minor cleanup in ConfigDB.pm git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1294 95ad53e4-c205-0410-b2fa-d234c58c8868
* * base work towards utf8-cleanness (it is now possible to handle vendor-OSesOliver Tappe2007-07-212-8/+8
| | | | | | | | | whose name contain UTF8-characters * fixed problem with locale-specific number format being used during DB- creation (fixes the problem that database access would only work once for de_DE-locales [reported by Detlef Schulz]) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1266 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for automatic selection of most appropriate (newest) kernelOliver Tappe2007-07-201-5/+30
| | | | | | | | | | | | if the kernel file specified by DB (in most cases: vmlinuz) does not exist. A warning will be printed by slxconfig-demuxer if the kernel had to be picked this way. This should allow slxconfig-demuxer to work for ubuntu & debian, as those do not always provide a vmlinuz-link (and in general this change makes the system more robust). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1265 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed yet another uninitialized valueOliver Tappe2007-07-181-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1254 95ad53e4-c205-0410-b2fa-d234c58c8868
* * replaces most occurrences of confess() with croak(), as that is less noisy.Oliver Tappe2007-07-184-30/+31
| | | | | | | Confess()-ing can still be triggered by specifying --debug-confess on the commandline. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1249 95ad53e4-c205-0410-b2fa-d234c58c8868
* * more work towards perlcritic compliance, fixed the low-hanging fruit Oliver Tappe2007-07-107-8/+43
| | | | | | for level 4 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1234 95ad53e4-c205-0410-b2fa-d234c58c8868
* * activated 'use warnings' to all modules and adjusted all occurences ofOliver Tappe2007-07-018-67/+53Star
| | | | | | | 'use of uninitialized values', a couple of which might still show up * adjusted all code with respect to passing perlcritic level 4 and 5 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1207 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implemented support for generating a separate initramfs-setup as part ofOliver Tappe2007-06-241-1/+4
| | | | | | | | | the initramfs, machine-setup is now transported via Conf-TGZ only. N.B.: Couldn't apply this to the 4.1.0 branch since init has diverted a little too much for my liking! Will look into this next week. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1189 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed showstopping bugs introduced with rev 1176, sorry!Oliver Tappe2007-06-204-386/+375Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1177 95ad53e4-c205-0410-b2fa-d234c58c8868
* * split export type into filesystem and (optional) blockdevice, closingOliver Tappe2007-06-207-282/+279Star
| | | | | | | ticket#139 * code-reformatting with perltidy git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1176 95ad53e4-c205-0410-b2fa-d234c58c8868
* largish change with respect to configurable paths:Oliver Tappe2007-06-175-29/+14Star
| | | | | | | | | | | | | | | | | | | | * instead of supporting configurable paths at different hierarchy levels, there are now only five configurable folder: + base-path (/opt/openslx), fixed at installation time + config-path (/etc/opt/openslx), fixed at installation time + private-path (/var/opt/openslx), freely configurable by user + public-path (/srv/openslx), freely configurable by user + temp-path (/tmp), freely configurable by user this closes ticket#143 * several holes have been plugged concerning the creation of folders before they are accessed, closing ticket#142 * the functionality of generating config default folders has been moved from the Makefile into a new Perl-module (ConfigFolder.pm), in order to be available to the Perl-scripts, too * slxsettings has been changed to reflect the nature of base-path and config-path as fixed paths git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1172 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed incorrectly generated exportURI (still used the export-name insteadOliver Tappe2007-06-071-1/+1
| | | | | | of the vendor-OS-name) [reported by Felix, thanks!] git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1155 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed wrong default value for attribute 'start_xdmcp', should be 'kdm' Oliver Tappe2007-06-021-1/+1
| | | | | | | instead of 'kde' (reported by Dirk and Felix) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1139 95ad53e4-c205-0410-b2fa-d234c58c8868
* * dropped superfluous column vendor_os.export_counterOliver Tappe2007-05-291-2/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1109 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed incorrect use of private-path instead of stage1-path, as reportedOliver Tappe2007-05-181-1/+1
| | | | | | by Michael (mj0) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1086 95ad53e4-c205-0410-b2fa-d234c58c8868
* * simplified declaration of base classes via 'use base'Oliver Tappe2007-05-135-28/+12Star
| | | | | | | * simplified checking for correct API-version of modules git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1072 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed error during loading of DB-modules I introduced yesterdayOliver Tappe2007-05-121-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1051 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cleanup in DB-modulesOliver Tappe2007-05-115-23/+16Star
| | | | | | * DBD::CSV is now required to be 0.22 or higher (to circumvent problems on SuSE-9.3) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1046 95ad53e4-c205-0410-b2fa-d234c58c8868
* * reworked construction of export-URI to be delegated into the respectiveOliver Tappe2007-05-071-16/+11Star
| | | | | | | | exporter module, as a result, the NBD-URLs are now correct * added 'nbd' as an alias for the 'nbd-squash' export type git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1024 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed ramfs_fsmods and ramfs_nicmods to be (system-only) attributesOliver Tappe2007-05-061-3/+8
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1016 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added new table global_info to DB-schema, in order to support nbd-server-portsOliver Tappe2007-05-064-16/+175
| | | | | | | | * added transaction support to config-DB * added support for incrementing global counters (which live in global_info) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1011 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed syntax problemsOliver Tappe2007-05-051-2/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1006 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added default values for all attributes to default systemOliver Tappe2007-05-051-0/+40
| | | | | | | * added missing attribute 'dm_allow_shutdown' git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1005 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added pushAttributes() and externalConfigNameForClient()Oliver Tappe2007-05-051-15/+50
| | | | | | | | | * improved externalID...() functions to avoid slashes in filenames * fixed a couple of bugs in the aggregate...-functions that have been exposed during todays work on the demuxer. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@999 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed some holes in param check, could lead to crashesOliver Tappe2007-05-051-5/+5
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@998 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed code that tries to set defaults to columns that do not exist anymoreOliver Tappe2007-05-041-9/+0Star
| | | | | | | Thanks to Christian Hack for reporting this. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@993 95ad53e4-c205-0410-b2fa-d234c58c8868
* * filled attributes list with everything referenced in machine-setup.defaultOliver Tappe2007-05-031-13/+30
| | | | | | | | * reworked all attributes to be string types, in order to avoid having to map boolean attributes from "0/1" to "no/yes". git-svn-id: http://svn.openslx.org/svn/openslx/trunk@992 95ad53e4-c205-0410-b2fa-d234c58c8868
* overhaul the settings concept:Oliver Tappe2007-05-024-89/+0Star
| | | | | | | | | | * now all settings live in the settings file, no more settings table in the DB * clearified slxsettings and its options * removed all references to db table 'settings' * added some new extended settings git-svn-id: http://svn.openslx.org/svn/openslx/trunk@988 95ad53e4-c205-0410-b2fa-d234c58c8868
* * improved error handling during installation and execution in case the ↵Oliver Tappe2007-04-301-1/+11
| | | | | | | | | | DB-module can't be loaded (because of missing DBD::-modules). Closes ticket #118 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@971 95ad53e4-c205-0410-b2fa-d234c58c8868
* * corrected generation of wrong export name in PXE files.Oliver Tappe2007-04-291-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@951 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added method for getting the next export-counter of a vendor-OS.Oliver Tappe2007-04-231-0/+17
| | | | | | | However, this should be redone later in order to avoid possible races. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@920 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added 'export_counter' to table 'vendor_os'Oliver Tappe2007-04-231-1/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@919 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cleanupOliver Tappe2007-04-232-2/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@918 95ad53e4-c205-0410-b2fa-d234c58c8868
* * improved error message in case a database module couldOliver Tappe2007-04-133-3/+3
| | | | | | | not be loaded git-svn-id: http://svn.openslx.org/svn/openslx/trunk@886 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed incorrect module names in error message.Oliver Tappe2007-04-133-3/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@885 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed leftover of use_absolute_tftpOliver Tappe2007-04-111-1/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@875 95ad53e4-c205-0410-b2fa-d234c58c8868
* * circumvent problem with older versions of DBD::CSV not supporting the ↵Oliver Tappe2007-04-111-1/+9
| | | | | | | | | max()-function (this caused problems on SUSE-9.3). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@874 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed 'use_absolute_tftp' from settings tableOliver Tappe2007-04-081-3/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@873 95ad53e4-c205-0410-b2fa-d234c58c8868
* * db-type no longer requires exact case matching of the respective module ↵Oliver Tappe2007-04-081-1/+14
| | | | | | | | | name (so you can now say --db-type=csv in order to request the 'CSV'-module). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@870 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added more precise errors for inconsistent DB states (if the export or ↵Oliver Tappe2007-04-051-2/+10
| | | | | | | | | | vendor-OS a system refers to doesn't exist) * some cleanup git-svn-id: http://svn.openslx.org/svn/openslx/trunk@866 95ad53e4-c205-0410-b2fa-d234c58c8868