diff options
Diffstat (limited to 'os-plugins/plugins/example/OpenSLX')
| -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' => { |
