[debian-edu-commits] r81318 - in branches/wheezy/debian-edu-config: debian ldap-tools

pere at alioth.debian.org pere at alioth.debian.org
Tue Jul 2 12:52:38 UTC 2013


Author: pere
Date: 2013-07-02 12:52:38 +0000 (Tue, 02 Jul 2013)
New Revision: 81318

Modified:
   branches/wheezy/debian-edu-config/debian/changelog
   branches/wheezy/debian-edu-config/ldap-tools/sitesummary2ldapdhcp
Log:
Fix typo in sitesummary2ldapdhcp, making it fail unless -t
was specified.

Modified: branches/wheezy/debian-edu-config/debian/changelog
===================================================================
--- branches/wheezy/debian-edu-config/debian/changelog	2013-07-02 12:46:38 UTC (rev 81317)
+++ branches/wheezy/debian-edu-config/debian/changelog	2013-07-02 12:52:38 UTC (rev 81318)
@@ -4,6 +4,8 @@
   * Disable debug code in auto-addfirmware.
   * Adjusted auto-addfirmware to only add contrib and non-free APT
     sources if it can't find the package it want to install.
+  * Fix typo in sitesummary2ldapdhcp, making it fail unless -t
+    was specified.
 
  -- Petter Reinholdtsen <pere at debian.org>  Tue, 02 Jul 2013 13:56:17 +0200
 

Modified: branches/wheezy/debian-edu-config/ldap-tools/sitesummary2ldapdhcp
===================================================================
--- branches/wheezy/debian-edu-config/ldap-tools/sitesummary2ldapdhcp	2013-07-02 12:46:38 UTC (rev 81317)
+++ branches/wheezy/debian-edu-config/ldap-tools/sitesummary2ldapdhcp	2013-07-02 12:52:38 UTC (rev 81318)
@@ -159,7 +159,7 @@
         my $ghSoundAdapter = "-";
         my $gotoLastUser = "-";
         my $attr;
-        if ($opts{t} eq 'servers') {
+        if ($type eq 'servers') {
             $attr = [
                 'objectClass'  => ['top', 'GOhard', 'goServer'],
                 'cn'           => $hostname,
@@ -167,7 +167,7 @@
                 'ipHostNumber' => $ipaddr,
                 'gotoMode'     => $gotoMode,
                 ];
-        } elsif ($opts{t} eq 'workstations') {
+        } elsif ($type eq 'workstations') {
             $attr = [
                 'objectClass'    => ['top', 'gotoWorkstation', 'GOhard'],
                 'cn'             => $hostname,
@@ -182,7 +182,7 @@
                 'ghSoundAdapter' => $ghSoundAdapter,
                 'gotoLastUser'   => $gotoLastUser,
                 ];
-        } elsif ($opts{t} eq 'terminals') {
+        } elsif ($type eq 'terminals') {
             $attr = [
                 'objectClass'    => ['top', 'gotoTerminal', 'GOhard'],
                 'cn'             => $hostname,
@@ -198,7 +198,7 @@
                 'gotoLastUser'   => $gotoLastUser,
                 'gotoSwapServer' => $gotoSwapServer,
                 ];
-        } elsif ($opts{t} eq 'printers') {
+        } elsif ($type eq 'printers') {
             my $printerUri = "DUMMY, please change.";
             $attr = [
                 'objectClass'    => ['top', 'gotoPrinter'],
@@ -207,7 +207,7 @@
                 'ipHostNumber'   => $ipaddr,
                 'labeledURI'     => $printerUri,
                 ];
-        } elsif ($opts{t} eq 'netdevices') {
+        } elsif ($type eq 'netdevices') {
             $attr = [
                 'objectClass'    => ['top', 'device', 'ipHost', 'ieee802Device'],
                 'cn'             => $hostname,




More information about the debian-edu-commits mailing list