summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup/Distro
diff options
context:
space:
mode:
authorOliver Tappe2007-07-01 22:28:50 +0200
committerOliver Tappe2007-07-01 22:28:50 +0200
commit6974fa8b0419bbd0711f79c8b78e07a9543810dd (patch)
tree25141f0f4d20ca8fdb1c845edf5b9ce4b24a6e98 /installer/OpenSLX/OSSetup/Distro
parentTried to add Ubuntu 7.04 to the list of cloneable systems. (diff)
downloadcore-6974fa8b0419bbd0711f79c8b78e07a9543810dd.tar.gz
core-6974fa8b0419bbd0711f79c8b78e07a9543810dd.tar.xz
core-6974fa8b0419bbd0711f79c8b78e07a9543810dd.zip
* activated 'use warnings' to all modules and adjusted all occurences of
'use of uninitialized values', a couple of which might still show up * adjusted all code with respect to passing perlcritic level 4 and 5 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1207 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/OpenSLX/OSSetup/Distro')
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Any_Clone.pm10
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Base.pm9
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm8
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm8
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Fedora_6.pm8
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Fedora_6_x86_64.pm8
-rw-r--r--installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm8
-rw-r--r--installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm8
-rw-r--r--installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm8
-rw-r--r--installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm8
10 files changed, 32 insertions, 51 deletions
diff --git a/installer/OpenSLX/OSSetup/Distro/Any_Clone.pm b/installer/OpenSLX/OSSetup/Distro/Any_Clone.pm
index 80651a15..0433b9a4 100644
--- a/installer/OpenSLX/OSSetup/Distro/Any_Clone.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Any_Clone.pm
@@ -13,14 +13,10 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::Any_Clone;
-use vars qw($VERSION);
-use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-
use strict;
-use Carp;
-use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
+use warnings;
+
+use base qw(OpenSLX::OSSetup::Distro::Base);
################################################################################
### implementation
diff --git a/installer/OpenSLX/OSSetup/Distro/Base.pm b/installer/OpenSLX/OSSetup/Distro/Base.pm
index 769288f1..e0cb5fba 100644
--- a/installer/OpenSLX/OSSetup/Distro/Base.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Base.pm
@@ -13,11 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::Base;
-use vars qw($VERSION);
-$VERSION = 1.01; # API-version . implementation-version
-
use strict;
-use Carp;
+use warnings;
+
+our $VERSION = 1.01; # API-version . implementation-version
+
+use Carp qw(confess);
use File::Basename;
use OpenSLX::Basics;
diff --git a/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm b/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm
index be63775b..24ad00a4 100644
--- a/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm
@@ -13,14 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::Debian_3_1;
-use vars qw($VERSION);
+use strict;
+use warnings;
+
use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-use strict;
-use Carp;
use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
################################################################################
### implementation
diff --git a/installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm b/installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm
index 825ed542..f4e8a6e4 100644
--- a/installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm
@@ -13,14 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::Debian_4_0;
-use vars qw($VERSION);
+use strict;
+use warnings;
+
use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-use strict;
-use Carp;
use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
################################################################################
### implementation
diff --git a/installer/OpenSLX/OSSetup/Distro/Fedora_6.pm b/installer/OpenSLX/OSSetup/Distro/Fedora_6.pm
index f2e38868..03f7116a 100644
--- a/installer/OpenSLX/OSSetup/Distro/Fedora_6.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Fedora_6.pm
@@ -13,14 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::Fedora_6;
-use vars qw($VERSION);
+use strict;
+use warnings;
+
use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-use strict;
-use Carp;
use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
################################################################################
### implementation
diff --git a/installer/OpenSLX/OSSetup/Distro/Fedora_6_x86_64.pm b/installer/OpenSLX/OSSetup/Distro/Fedora_6_x86_64.pm
index 00125f47..46c43e37 100644
--- a/installer/OpenSLX/OSSetup/Distro/Fedora_6_x86_64.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Fedora_6_x86_64.pm
@@ -13,14 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::Fedora_6_x86_64;
-use vars qw($VERSION);
+use strict;
+use warnings;
+
use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-use strict;
-use Carp;
use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
################################################################################
### implementation
diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm
index 25ae41bb..819bbb95 100644
--- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm
+++ b/installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm
@@ -13,14 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::SUSE_10_1;
-use vars qw($VERSION);
+use strict;
+use warnings;
+
use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-use strict;
-use Carp;
use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
################################################################################
### implementation
diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm
index 983834f8..f80bca32 100644
--- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm
+++ b/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm
@@ -13,14 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::SUSE_10_1_x86_64;
-use vars qw($VERSION);
+use strict;
+use warnings;
+
use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-use strict;
-use Carp;
use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
################################################################################
### implementation
diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm
index 24508911..06fdd322 100644
--- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm
+++ b/installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm
@@ -13,14 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::SUSE_10_2;
-use vars qw($VERSION);
+use strict;
+use warnings;
+
use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-use strict;
-use Carp;
use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
################################################################################
### implementation
diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm
index 30268635..e30e0897 100644
--- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm
+++ b/installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm
@@ -13,14 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::SUSE_10_2_x86_64;
-use vars qw($VERSION);
+use strict;
+use warnings;
+
use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-use strict;
-use Carp;
use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
################################################################################
### implementation