projects
/
mirror
/
dsa-nagios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c124a22
)
Use PERL_LWP_SSL_CA_PATH not HTTPS_CA_DIR as the latter has issues.
author
Paul Wise
<pabs@debian.org>
Sun, 14 Jun 2015 11:37:23 +0000
(19:37 +0800)
committer
Paul Wise
<pabs@debian.org>
Sun, 14 Jun 2015 11:45:05 +0000
(19:45 +0800)
The issues include #746579 (now fixed) and #788698.
Thanks-to: jwilk on #debian-qa
dsa-nagios-checks/checks/dsa-check-mirrorsync
patch
|
blob
|
history
diff --git
a/dsa-nagios-checks/checks/dsa-check-mirrorsync
b/dsa-nagios-checks/checks/dsa-check-mirrorsync
index
f3bf783
..
2e8100f
100755
(executable)
--- a/
dsa-nagios-checks/checks/dsa-check-mirrorsync
+++ b/
dsa-nagios-checks/checks/dsa-check-mirrorsync
@@
-54,7
+54,7
@@
sub usage($$) {
# Work around LWP not being able to verify service certs directly
my $ca_dir = '/etc/ssl/ca-debian';
-$ENV{'
HTTPS_CA_DIR
'} = $ca_dir if -d $ca_dir;
+$ENV{'
PERL_LWP_SSL_CA_PATH
'} = $ca_dir if -d $ca_dir;
$ENV{'PATH'} = '/bin:/sbin:/usr/bin:/usr/sbin';
delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};