summaryrefslogtreecommitdiffstats
path: root/INF.pm
diff options
context:
space:
mode:
authorroot <root@ka-ata-killa.panaceas.james.local>2021-09-01 00:15:20 +0100
committerroot <root@ka-ata-killa.panaceas.james.local>2021-09-01 00:15:20 +0100
commitffd666e52164d06bc67d3d134ae8f53eb268bf6b (patch)
tree8ac3fbd546ed67b8053d27e16e8b2e83137473a0 /INF.pm
parent21a57211e96a5ce5989ca006af8f26ffe391e0c9 (diff)
downloadinf-ffd666e52164d06bc67d3d134ae8f53eb268bf6b.tar.gz
inf-ffd666e52164d06bc67d3d134ae8f53eb268bf6b.tar.bz2
inf-ffd666e52164d06bc67d3d134ae8f53eb268bf6b.zip
tidy
Diffstat (limited to 'INF.pm')
-rw-r--r--INF.pm24
1 files changed, 15 insertions, 9 deletions
diff --git a/INF.pm b/INF.pm
index 9b03767..47e381e 100644
--- a/INF.pm
+++ b/INF.pm
@@ -2,13 +2,12 @@ package INF;
use INF::APC;
use INF::DSRx020;
use INF::ILO2;
-use INF::ILO; #ilo 4 confusingly
+use INF::ILO; #ilo 4 confusingly
use INF::ILO5;
use INF::SuperMicro;
use INF::ASRock;
use INF::Cyclades;
-
#$infs = [
# {
# host => 'ms2.foo.com',
@@ -35,19 +34,26 @@ sub new ($;$) {
}
elsif ( $inf->{inf_type} eq 'apc' ) {
return INF::APC->new($inf);
- } elsif ( $inf->{inf_type} eq 'supermicro' ) {
+ }
+ elsif ( $inf->{inf_type} eq 'supermicro' ) {
return INF::SuperMicro->new($inf);
- } elsif ( $inf->{inf_type} eq 'asrock' ) {
+ }
+ elsif ( $inf->{inf_type} eq 'asrock' ) {
return INF::ASRock->new($inf);
- } elsif ( $inf->{inf_type} eq 'ilo2' ) {
+ }
+ elsif ( $inf->{inf_type} eq 'ilo2' ) {
return INF::ILO2->new($inf);
- } elsif ( $inf->{inf_type} eq 'ilo' ) {
+ }
+ elsif ( $inf->{inf_type} eq 'ilo' ) {
return INF::ILO->new($inf);
- } elsif ( $inf->{inf_type} eq 'ilo4' ) {
+ }
+ elsif ( $inf->{inf_type} eq 'ilo4' ) {
return INF::ILO->new($inf);
- } elsif ( $inf->{inf_type} eq 'ilo5' ) {
+ }
+ elsif ( $inf->{inf_type} eq 'ilo5' ) {
return INF::ILO5->new($inf);
- } elsif ( $inf->{inf_type} eq 'cyclades' ) {
+ }
+ elsif ( $inf->{inf_type} eq 'cyclades' ) {
return INF::Cyclades->new($inf);
}
else {