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;