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:
9a62ca8
)
LWP needs the ca-debian workaround too
author
Paul Wise
<pabs@debian.org>
Wed, 7 Jan 2015 15:18:28 +0000
(23:18 +0800)
committer
Paul Wise
<pabs@debian.org>
Wed, 7 Jan 2015 15:18:48 +0000
(23:18 +0800)
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
88984c2
..
b869116
100755
(executable)
--- a/
dsa-nagios-checks/checks/dsa-check-mirrorsync
+++ b/
dsa-nagios-checks/checks/dsa-check-mirrorsync
@@
-52,6
+52,8
@@
sub usage($$) {
exit ($exit);
};
+# Work around LWP not being able to verify service certs directly
+$ENV{'HTTPS_CA_DIR'} = '/etc/ssl/ca-debian';
$ENV{'PATH'} = '/bin:/sbin:/usr/bin:/usr/sbin';
delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};