From: cajus Date: Mon, 4 Aug 2008 07:42:37 +0000 (+0000) Subject: Removed stupid /tmp/fai directory packaged... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=47ca2b1c95595b345dba233c134a97fae9fb1e0a;p=gosa.git Removed stupid /tmp/fai directory packaged... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12128 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/client.conf b/gosa-si/client.conf index 8e37c7614..25cd6b86e 100644 --- a/gosa-si/client.conf +++ b/gosa-si/client.conf @@ -3,7 +3,7 @@ log-file = /var/log/gosa-si-client.log pid-file = /var/run/gosa-si-client.pid [client] -fai-logpath = /tmp/fai/fai.log +fai-logpath = /var/log/fai/fai.log [server] key = secret-server-password diff --git a/gosa-si/client/events/opsi.pm b/gosa-si/client/events/opsi.pm index 9e016e0c3..128260358 100644 --- a/gosa-si/client/events/opsi.pm +++ b/gosa-si/client/events/opsi.pm @@ -16,12 +16,15 @@ my @events = ( #"opsi_add_client", # Client hinzufügen - # -> voll qualifizierter name + # -> voll qualifizierter name == ID # -> IP # -> MAC # -> Description # -> Notizen + #"opsi_del_client", + # ID + #"opsi_modify_client", #"opsi_add_product_to_client", @@ -706,7 +709,6 @@ sub opsi_del_client { } -# Setze alles was auf "installed" steht auf setup sub opsi_install_client { my ($msg, $msg_hash) = @_; my $header = @{$msg_hash->{'header'}}[0]; @@ -725,6 +727,7 @@ sub opsi_install_client { } &add_content2xml_hash($out_hash, "hostId", "$hostId"); +# Setze alles was auf "installed" steht auf setup # Schaue nach produkten für diesen Host # Setze alle Produkte dieses Hosts auf "setup" diff --git a/gosa-si/debian/gosa-si-client.dirs b/gosa-si/debian/gosa-si-client.dirs index acb6bec16..b3c588b57 100644 --- a/gosa-si/debian/gosa-si-client.dirs +++ b/gosa-si/debian/gosa-si-client.dirs @@ -2,4 +2,3 @@ etc/gosa-si usr/sbin usr/lib/gosa-si/client/events usr/lib/share/perl5/GOto -tmp/fai diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client index c62d230e6..fa2afbdbb 100755 --- a/gosa-si/gosa-si-client +++ b/gosa-si/gosa-si-client @@ -87,7 +87,7 @@ our $prg= basename($0); my $trigger_logged_in_users_report_delay = 600; # directory where all log files from installation are stored -my $fai_log_dir = "/tmp/fai"; +my $fai_log_dir = "/var/log/fai"; # dak variables our $dak_base_directory; diff --git a/gosa-si/modules/ClientPackages.pm b/gosa-si/modules/ClientPackages.pm index e940d041b..88a87ad5c 100644 --- a/gosa-si/modules/ClientPackages.pm +++ b/gosa-si/modules/ClientPackages.pm @@ -645,7 +645,7 @@ sub new_ldap_config { # Do we need to look at an object class? if (not @servers){ - my $escaped_dn = &Net::LDAP::Utils::escape_dn_value($dn); + my $escaped_dn = &Net::LDAP::Utils::escape_dn_value($dn); $mesg = $ldap_handle->search( base => $ldap_base, scope => 'sub', attrs => ['dn', 'gotoLdapServer', 'FAIclass'],