summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/example/OpenSLX/OSPlugin/example.pm
Commit message (Collapse)AuthorAgeFilesLines
* change dir structureSebastian Schmelzer2010-09-021-154/+0Star
|
* * The xxx::active attribute of every plugin applies to clients, too.Oliver Tappe2009-02-111-2/+2
| | | | | | | | | | This could be used to test a specific plugin with one client before activating it for all others. Some plugins specify seemingly strange 'applies-to-clients'-values for their attributes, but I have not touched those, since I do not really know what they do. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2573 95ad53e4-c205-0410-b2fa-d234c58c8868
* * reworked plugin-API concerning the way the parameters are passed into Oliver Tappe2008-05-261-16/+27
| | | | | | | | | | | installationPhase() and removalPhase() - now we use a hash as the amount of parameters has become too large * adjusted all plugins to these API change * now not only the openslx base path, but the openslx config path is bind mounted into the vendor-OS chroot, such that plugins can check the available local configuration extensions git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1803 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed 'precedence'-attribute and made it part of the general plugin info -Oliver Tappe2008-03-241-12/+1Star
| | | | | | it makes no sense to have this configurable by the user git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1682 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Switched indent used in Perl-code and settings files from tabs to 4 spaces.Oliver Tappe2008-03-201-107/+107
| | | | | | May need some manual corrections here and there, but should basically be ok. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1658 95ad53e4-c205-0410-b2fa-d234c58c8868
* * adjusted plugin-API according to recent discussion with Volker:Oliver Tappe2008-02-231-65/+35Star
| | | | | | | | | | | | + dropped pre- and post-methods as they are not really needed, since ... + we now bind-mount /opt/openslx into /mnt/openslx of the vendor-OS chroot, so plugins can copy any required files from there * cleaned up existing plugin implementations * improved documentation for plugin developers (available via 'perldoc os-plugins/OpenSLX/OSPlugins/Base.pm'). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1570 95ad53e4-c205-0410-b2fa-d234c58c8868
* Added example of os-name in example.pmBastian Wissler2008-02-211-0/+4
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1566 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Added example how you can copy files outside of the chrootVolker Uhrig2008-02-171-1/+14
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1552 95ad53e4-c205-0410-b2fa-d234c58c8868
* Refactored call-out to plugins when making the initramfs:Oliver Tappe2008-02-161-1/+3
| | | | | | | | | | | | | | | | * The code for setting up the plugin in the initramfs has been moved into the plugin base, as this makes it possible for any plugin to override it (should the need ever arise). * The plugin scripts themselves are now being copied into the initramfs, instead of being part of the config-TGZ - they are static scripts, so there's no need to make them part of the config. Only the actual settings of each plugin are part of the config-TGZ now. * Cleaned up most accesses from plugins to private data of the makeInitRamFS- engine. I have tested with these changes with Ubuntu and Debian, and splashy still works for both, so it should be ok. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1551 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed all plugins to lowercase in order to be consistent withOliver Tappe2008-01-271-0/+165
the attribute names git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1497 95ad53e4-c205-0410-b2fa-d234c58c8868