Skip to content

Commit

Permalink
Merge pull request #25 from mwestphall/SOFTWARE-5131-perl-dependency
Browse files Browse the repository at this point in the history
SOFTWARE-5131 perl dependency
  • Loading branch information
matyasselmeci authored Jun 8, 2023
2 parents ce21a5b + f87fd8c commit e893b7d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion rpm/hosted-ce-tools.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
Summary: Tools for managing OSG Hosted CEs
Name: hosted-ce-tools
Version: 1.0
Release: 3%{?dist}
Release: 4%{?dist}
License: Apache 2.0
Url: https://github.com/opensciencegrid/hosted-ce-tools
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
Requires: fetch-crl
Requires: sudo
Requires: wget
Requires: rsync
Requires: perl
Requires: /usr/bin/git
%systemd_requires

Expand Down Expand Up @@ -51,6 +53,9 @@ systemctl daemon-reload


%changelog
* Thu Jun 08 2023 Matt Westphall <[email protected]> - 1.0-4
- Add missing dependencies on perl and rsync to spec file (SOFTWARE-5131)

* Fri Jun 02 2023 Matt Westphall <[email protected]> - 1.0-3
- Remove dependency on python-six (SOFTWARE-5131)

Expand Down
2 changes: 1 addition & 1 deletion scripts/update-all-remote-wn-clients
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def main():
)
opts, _ = parser.parse_args()

cfg = configparser.SafeConfigParser()
cfg = configparser.ConfigParser()
cfg.read(opts.config)

sections_list = list(x for x in cfg.sections() if x.startswith("Endpoint"))
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-remote-wn-client
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def update_crls(cert_dir):
proc = Popen(command, stdout=PIPE, stderr=STDOUT)
output, _ = proc.communicate()
if proc.returncode != 0:
if output and ("CRL verification failed" in output or "Download error" in output):
if output and (b"CRL verification failed" in output or b"Download error" in output):
# These errors aren't actually fatal; we'll send a less alarming
# notification about them.
log.info(output)
Expand Down

0 comments on commit e893b7d

Please sign in to comment.