diff options
author | Oliver Tappe | 2008-03-24 16:42:47 +0100 |
---|---|---|
committer | Oliver Tappe | 2008-03-24 16:42:47 +0100 |
commit | 7c25c7600d56ab930a9a7a111bab53f98eabc9df (patch) | |
tree | 6a850e3b15eb14b770c6d19aac7be34d1bf4fd89 /os-plugins/plugins/example/OpenSLX/OSPlugin | |
parent | Load configuration within the vmware runlevel script ... (diff) | |
download | core-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')
-rw-r--r-- | os-plugins/plugins/example/OpenSLX/OSPlugin/example.pm | 13 |
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' => { |