summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.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/desktop/OpenSLX/OSPlugin/desktop.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/desktop/OpenSLX/OSPlugin/desktop.pm')
-rw-r--r--os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm14
1 files changed, 3 insertions, 11 deletions
diff --git a/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm b/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm
index 84f21e91..046d0759 100644
--- a/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm
+++ b/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm
@@ -44,7 +44,7 @@ sub getInfo
description => unshiftHereDoc(<<' End-of-Here'),
Sets a desktop and creates needed configs, theme can be set as well.
End-of-Here
- mustRunAfter => [],
+ precedence => 40,
};
}
@@ -63,16 +63,6 @@ sub getAttrInfo
content_descr => '1 means active - 0 means inactive',
default => '1',
},
- 'desktop::precedence' => {
- applies_to_systems => 1,
- applies_to_clients => 1,
- description => unshiftHereDoc(<<' End-of-Here'),
- the execution precedence of the 'desktop' plugin
- End-of-Here
- content_regex => qr{^\d\d$},
- content_descr => 'allowed range is from 01-99',
- default => 40,
- },
'desktop::manager' => {
applies_to_systems => 1,
applies_to_clients => 1,
@@ -365,6 +355,7 @@ sub _ensureSensibleStage3Attrs
"no desktop kind is possible, plugin 'desktop' wouldn't work!"
);
}
+ print _tr("selecting %s as desktop kind\n", $desktops[0]);
$self->{attrs}->{'desktop::kind'} = $desktops[0];
}
@@ -378,6 +369,7 @@ sub _ensureSensibleStage3Attrs
"no desktop manager is possible, plugin 'desktop' wouldn't work!"
);
}
+ print _tr("selecting %s as desktop manager\n", $managers[0]);
$self->{attrs}->{'desktop::manager'} = $managers[0];
}