From fe18e621405083a4f1bbb52e86181f057f1293e3 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 9 Jan 2008 12:23:47 +0000 Subject: * several fixes related to the handling of plugin-specific attributes by the config-demuxer git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1452 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/OpenSLX/OSPlugin/Base.pm | 4 ++-- os-plugins/plugins/Example/OpenSLX/OSPlugin/Example.pm | 10 +++++----- os-plugins/plugins/VMware/OpenSLX/OSPlugin/VMware.pm | 7 ------- 3 files changed, 7 insertions(+), 14 deletions(-) (limited to 'os-plugins') diff --git a/os-plugins/OpenSLX/OSPlugin/Base.pm b/os-plugins/OpenSLX/OSPlugin/Base.pm index 0f2123d7..34b551d9 100644 --- a/os-plugins/OpenSLX/OSPlugin/Base.pm +++ b/os-plugins/OpenSLX/OSPlugin/Base.pm @@ -61,8 +61,8 @@ sub getAttrInfo my $self = shift; # This default configuration will be added as attributes to the default - # system, such that it can be overruled for any specific system & client - # by means of slxconfig. + # system, such that it can be overruled for any specific system by means + # of slxconfig. return { # attribute 'active' is mandatory for all plugins # attribute 'precedence' is mandatory for all plugins diff --git a/os-plugins/plugins/Example/OpenSLX/OSPlugin/Example.pm b/os-plugins/plugins/Example/OpenSLX/OSPlugin/Example.pm index ec5dd03d..e872b023 100644 --- a/os-plugins/plugins/Example/OpenSLX/OSPlugin/Example.pm +++ b/os-plugins/plugins/Example/OpenSLX/OSPlugin/Example.pm @@ -53,13 +53,13 @@ sub getAttrInfo my $self = shift; # This default configuration will be added as attributes to the default - # system, such that it can be overruled for any specific system & client - # by means of slxconfig. + # system, such that it can be overruled for any specific system by means + # of slxconfig. return { # attribute 'active' is mandatory for all plugins 'example::active' => { applies_to_systems => 1, - applies_to_clients => 1, + applies_to_clients => 0, description => unshiftHereDoc(<<' End-of-Here'), should the 'Example'-plugin be executed during boot? End-of-Here @@ -70,7 +70,7 @@ sub getAttrInfo # attribute 'precedence' is mandatory for all plugins 'example::precedence' => { applies_to_systems => 1, - applies_to_clients => 1, + applies_to_clients => 0, description => unshiftHereDoc(<<' End-of-Here'), the execution precedence of the 'Example' plugin End-of-Here @@ -82,7 +82,7 @@ sub getAttrInfo # plugin specific attributes start here ... 'example::preferred_side' => { applies_to_systems => 1, - applies_to_clients => 1, + applies_to_clients => 0, description => unshiftHereDoc(<<' End-of-Here'), determines to which side you have to tilt your head in order to read the smiley diff --git a/os-plugins/plugins/VMware/OpenSLX/OSPlugin/VMware.pm b/os-plugins/plugins/VMware/OpenSLX/OSPlugin/VMware.pm index 6fddf78c..f764722e 100644 --- a/os-plugins/plugins/VMware/OpenSLX/OSPlugin/VMware.pm +++ b/os-plugins/plugins/VMware/OpenSLX/OSPlugin/VMware.pm @@ -21,13 +21,6 @@ use base qw(OpenSLX::OSPlugin::Base); use OpenSLX::Basics; use OpenSLX::Utils; -################################################################################ -# if you have any questions regarding the concept of OS-plugins and their -# implementation, please drop a mail to: ot@openslx.com, or join the IRC-channel -# '#openslx' (on freenode). -################################################################################ -### interface methods -################################################################################ sub new { my $class = shift; -- cgit v1.2.3-55-g7522