summaryrefslogtreecommitdiffstats
path: root/os-plugins
diff options
context:
space:
mode:
authorOliver Tappe2008-01-09 13:23:47 +0100
committerOliver Tappe2008-01-09 13:23:47 +0100
commitfe18e621405083a4f1bbb52e86181f057f1293e3 (patch)
tree652c652a5bc10415f42559c3f7644a7e85689a65 /os-plugins
parent* implemented automatic synchronization of new/changed attributes (either (diff)
downloadcore-fe18e621405083a4f1bbb52e86181f057f1293e3.tar.gz
core-fe18e621405083a4f1bbb52e86181f057f1293e3.tar.xz
core-fe18e621405083a4f1bbb52e86181f057f1293e3.zip
* 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
Diffstat (limited to 'os-plugins')
-rw-r--r--os-plugins/OpenSLX/OSPlugin/Base.pm4
-rw-r--r--os-plugins/plugins/Example/OpenSLX/OSPlugin/Example.pm10
-rw-r--r--os-plugins/plugins/VMware/OpenSLX/OSPlugin/VMware.pm7
3 files changed, 7 insertions, 14 deletions
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;