aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgresql/manifests
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2016-02-29 01:15:02 +0100
committerOlivier Blin <dev@blino.org>2016-02-29 01:15:02 +0100
commitec3d00ece71fb93aa8266ac5157e8c8aa5bb7e6f (patch)
treeccdc1ecefebba42d3867e79ab04f152b550a6649 /modules/postgresql/manifests
parent34e9567788c82dbbc4c4a2b7e0eae227792ffe7b (diff)
downloadpuppet-ec3d00ece71fb93aa8266ac5157e8c8aa5bb7e6f.tar
puppet-ec3d00ece71fb93aa8266ac5157e8c8aa5bb7e6f.tar.gz
puppet-ec3d00ece71fb93aa8266ac5157e8c8aa5bb7e6f.tar.bz2
puppet-ec3d00ece71fb93aa8266ac5157e8c8aa5bb7e6f.tar.xz
puppet-ec3d00ece71fb93aa8266ac5157e8c8aa5bb7e6f.zip
openldap: make sure ldap.mageia.org gets resolved to 127.0.0.1 on master
Was done manually in /etc/hosts on valstar and duvel
Diffstat (limited to 'modules/postgresql/manifests')
0 files changed, 0 insertions, 0 deletions
76ebef3256451'>78118238d4124c3b794145568d3cb74930bceba7 parent1e8d4a2ec9a62fb05079994cec2e03ef708cfe7c (diff)downloaddrakx-7871e54318f2583c0b2e2e64ffc76ebef3256451.tar
drakx-7871e54318f2583c0b2e2e64ffc76ebef3256451.tar.gz
drakx-7871e54318f2583c0b2e2e64ffc76ebef3256451.tar.bz2
drakx-7871e54318f2583c0b2e2e64ffc76ebef3256451.tar.xz
drakx-7871e54318f2583c0b2e2e64ffc76ebef3256451.zip
use internal_error instead of die for better error message (esp. backtrace)
Diffstat
-rw-r--r--perl-install/partition_table/raw.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table/raw.pm b/perl-install/partition_table/raw.pm
index ac0c79aac..2237d672a 100644
--- a/perl-install/partition_table/raw.pm
+++ b/perl-install/partition_table/raw.pm
@@ -84,7 +84,7 @@ sub adjustEnd($$) {
my $end2 = round_up($end - ($hd->{geom}{heads} > 2 ? 2 : 1) * $hd->{geom}{sectors}, cylinder_size($hd));
$end2 <= $hd->{geom}{cylinders} * cylinder_size($hd) or die "adjustEnd go beyond end of device geometry ($end2 > $hd->{totalsectors})";
$part->{size} = ($end1 - $part->{start} > cylinder_size($hd) ? $end1 : $end2) - $part->{start};
- $part->{size} > 0 or die "adjustEnd get a too small partition to handle correctly";
+ $part->{size} > 0 or internal_error("adjustEnd get a too small partition to handle correctly");
}
sub get_geometry($) {