summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2ddaf87)
raw | patch | inline | side by side (parent: 2ddaf87)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 Jun 2008 15:26:56 +0000 (15:26 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 Jun 2008 15:26:56 +0000 (15:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11426 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/server/events/opsi.pm | patch | blob | history |
index 90dc4a4bd0e9934ae49bb9ab9ff31d0f4910a0b2..9fb0e4e25940dd79cd842c4bcce0f30d4e3cc9cc 100644 (file)
"opsi_get_netboot_products",
"opsi_get_local_products",
"opsi_get_product_properties",
- "opsi_set_product_properties",
+ "opsi_get_client_hardware",
+ "opsi_get_client_software",
"answer_opsi_get_netboot_products",
"answer_opsi_get_local_products",
"answer_opsi_get_product_properties",
"answer_opsi_set_product_properties",
+ "answer_opsi_get_client_hardware",
+ "answer_opsi_get_client_software",
);
@EXPORT = @events;
return ( $msg );
}
+sub opsi_get_client_hardware {
+ my ($msg, $msg_hash, $session_id) = @_;
+ $msg =~ s/gosa_opsi/opsi/g;
+ return ( $msg );
+}
+
+sub opsi_get_client_software {
+ my ($msg, $msg_hash, $session_id) = @_;
+ $msg =~ s/gosa_opsi/opsi/g;
+ return ( $msg );
+}
sub answer_opsi_get_netboot_products {
my ($msg, $msg_hash, $session_id) = @_ ;
return ($msg);
}
+sub answer_opsi_get_client_hardware {
+ my ($msg, $msg_hash, $session_id) = @_ ;
+ $msg =~ s/<target>\S+<\/target>/<target>GOSA<\/target>/g;
+ return ($msg);
+}
+
+sub answer_opsi_get_client_software {
+ my ($msg, $msg_hash, $session_id) = @_ ;
+ $msg =~ s/<target>\S+<\/target>/<target>GOSA<\/target>/g;
+ return ($msg);
+}
+
1;