summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/example/OpenSLX/OSPlugin/example.pm
diff options
context:
space:
mode:
authorOliver Tappe2008-03-24 16:42:47 +0100
committerOliver Tappe2008-03-24 16:42:47 +0100
commit7c25c7600d56ab930a9a7a111bab53f98eabc9df (patch)
tree6a850e3b15eb14b770c6d19aac7be34d1bf4fd89 /os-plugins/plugins/example/OpenSLX/OSPlugin/example.pm
parentLoad configuration within the vmware runlevel script ... (diff)
downloadcore-7c25c7600d56ab930a9a7a111bab53f98eabc9df.tar.gz
core-7c25c7600d56ab930a9a7a111bab53f98eabc9df.tar.xz
core-7c25c7600d56ab930a9a7a111bab53f98eabc9df.zip
* removed 'precedence'-attribute and made it part of the general plugin info -
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
Diffstat (limited to 'os-plugins/plugins/example/OpenSLX/OSPlugin/example.pm')
-rw-r--r--os-plugins/plugins/example/OpenSLX/OSPlugin/example.pm13
1 files changed, 1 insertions, 12 deletions
diff --git a/os-plugins/plugins/example/OpenSLX/OSPlugin/example.pm b/os-plugins/plugins/example/OpenSLX/OSPlugin/example.pm
index dad6756c..ae7bb4ef 100644
--- a/os-plugins/plugins/example/OpenSLX/OSPlugin/example.pm
+++ b/os-plugins/plugins/example/OpenSLX/OSPlugin/example.pm
@@ -45,7 +45,7 @@ sub getInfo
description => unshiftHereDoc(<<' End-of-Here'),
just an exemplary plugin that prints a smiley when the client boots
End-of-Here
- mustRunAfter => [],
+ precedence => 50,
};
}
@@ -69,17 +69,6 @@ sub getAttrInfo
content_descr => '1 means active - 0 means inactive',
default => '1',
},
- # attribute 'precedence' is mandatory for all plugins
- 'example::precedence' => {
- applies_to_systems => 1,
- applies_to_clients => 0,
- description => unshiftHereDoc(<<' End-of-Here'),
- the execution precedence of the 'example' plugin
- End-of-Here
- content_regex => qr{^\d\d$},
- content_descr => 'allowed range is from 01-99',
- default => 50,
- },
# plugin specific attributes start here ...
'example::preferred_side' => {