summaryrefslogtreecommitdiffstats
path: root/config-db
Commit message (Collapse)AuthorAgeFilesLines
...
* more work at refactoring of the way attributes are handled:Oliver Tappe2008-01-041-19/+84
| | | | | | | | | | | * finished and integrated support for declaring known attributes from within plugins (they need to install a AttrInfo module) * implemented support for checking which attributes are applicable to systems and clients respectively * adjusted slxconfig to new attribute handling (systems only at the moment) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1441 95ad53e4-c205-0410-b2fa-d234c58c8868
* * intermediate checkin of refactoring of the way attributes are stored in DBOliver Tappe2008-01-035-292/+948
| | | | | | | and passed in and out via the DB-layer N.B.: this may break things, will be fixed later today git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1440 95ad53e4-c205-0410-b2fa-d234c58c8868
* * completed test set for attribute merging, fixing several bugs along theOliver Tappe2007-12-292-58/+574
| | | | | | | | way - these tests expose the known problem of attributes not being resetable by higher priority layers (you can't set attr_start_xdmcp to '' in a client if it set by a system). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1437 95ad53e4-c205-0410-b2fa-d234c58c8868
* * completed basic tests and started to work on tests for aggregated valuesOliver Tappe2007-12-287-3/+681
| | | | | | (attributes) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1436 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added more tests for basic DB-features: group, global_info and Oliver Tappe2007-12-276-20/+435
| | | | | | | client_system_ref git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1435 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed two warnings caused by typosOliver Tappe2007-12-261-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1433 95ad53e4-c205-0410-b2fa-d234c58c8868
* * completed regression tests for vendor-OSesOliver Tappe2007-12-167-12/+754
| | | | | | | | | * added regression tests for exports, systems and clients * fixed several bugs found by these tests * cosmetical cleanups in ConfigDB.pm git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1431 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed typo (13 times), the new method is named getColumnsOfTable(), notOliver Tappe2007-12-041-13/+13
| | | | | | getColumnsForTable(). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1418 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for groups (add, change, list, remove and search)Oliver Tappe2007-11-291-66/+351
| | | | | | This has not been tested yet, so beware! git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1413 95ad53e4-c205-0410-b2fa-d234c58c8868
* * 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-096-90/+323
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1407 95ad53e4-c205-0410-b2fa-d234c58c8868
* * started to work on group-support (unfinished!)Oliver Tappe2007-11-041-23/+60
| | | | | | * cosmetical changes git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1404 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added new DB-field attr_ramfs_miscmods to system tableOliver Tappe2007-10-052-2/+6
| | | | | | | | | | | * 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
* * fixed dumb bug that caused argument values to be rejected when they are Oliver Tappe2007-10-011-1/+1
| | | | | | empty - doh! git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1362 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
* * dropped 'pxe'-subfolder for PXE-stuff since most installations put thatOliver Tappe2007-08-311-10/+9Star
| | | | | | | into the TFTP-server's root folder and we better be compatible [thanks Michael!]. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1331 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added missing support for changing exports and vendor-OSesOliver Tappe2007-08-291-15/+87
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1330 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-012-133/+148
| | | | | | | | 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-313-305/+347
| | | | | | | | | | | | | 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-214-10/+10
| | | | | | | | | 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
* * fixed use of an uninitialized valueOliver Tappe2007-07-181-11/+24
| | | | | | | * added support for automatically dropping 'name=""' constructs whenever only the name is expected (as a special gift to Dirk ;-P) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1253 95ad53e4-c205-0410-b2fa-d234c58c8868
* * some cleanup - we now make use of here-docs where feasibleOliver Tappe2007-07-181-16/+19
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1252 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
* * split listing functionality into list-... and search-..., such that list-...Oliver Tappe2007-07-181-16/+157
| | | | | | | | only lists the elements with the given names (no more need to specify name='<name>'), while search-... executes an arbitrary key-value search (and thus requires key-value-pairs as parameters). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1248 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed a couple of 'use of uninitialized values' reported by DirkOliver Tappe2007-07-181-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1244 95ad53e4-c205-0410-b2fa-d234c58c8868
* * more work towards perlcritic compliance, fixed the low-hanging fruit Oliver Tappe2007-07-109-14/+68
| | | | | | for level 4 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1234 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed use of uninitialized valueOliver Tappe2007-07-061-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1227 95ad53e4-c205-0410-b2fa-d234c58c8868
* * now a dummy hostname ('slx-client') is set in initramfs-setup, just to haveOliver Tappe2007-07-061-0/+1
| | | | | | any hostname in case the client is not using a dhcp client. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1226 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for os-plugins:Oliver Tappe2007-07-031-15/+76
| | | | | | | | | | | | + added script slxos-plugin, which must be invoked to install a plugin into a vendor-OS + added handling of plugins to slxconfig-demuxer + added folder structure for plugins (below 'os-plugins') + implemented one simple plugin, called 'Example' which contains a couple of hints how to write own plugins git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1220 95ad53e4-c205-0410-b2fa-d234c58c8868
* * verbose-mode is now activated automatically if you request the listingOliver Tappe2007-07-011-0/+8
| | | | | | of some type and pass in specific arguments git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1208 95ad53e4-c205-0410-b2fa-d234c58c8868
* * activated 'use warnings' to all modules and adjusted all occurences ofOliver Tappe2007-07-0110-105/+101Star
| | | | | | | '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-242-138/+173
| | | | | | | | | 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
* * cosmetical change of info textOliver Tappe2007-06-201-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1184 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-209-309/+306Star
| | | | | | | 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-177-78/+73Star
| | | | | | | | | | | | | | | | | | | | * 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
* * moved slxsettings from 'config-db' to 'bin', as it has nothing to do withOliver Tappe2007-06-141-366/+0Star
| | | | | | the db (anymore) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1163 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed all warnings indicated by 'perl -w'Oliver Tappe2007-06-133-6/+8
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1162 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
* Make vesamenu.c32 available for optional useFelix Endres2007-06-011-0/+5
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1132 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
* * part one of settings file related changes (ticket#122): Oliver Tappe2007-05-281-5/+5
| | | | | | | | - 'settings.default' now lives in /opt/openslx/share - 'settings.local' has been renamed to 'settings' git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1103 95ad53e4-c205-0410-b2fa-d234c58c8868