Skip to content

Commit

Permalink
[policies] update vendor URLs to use HTTPS
Browse files Browse the repository at this point in the history
Resolves: #1829

Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
  • Loading branch information
mikelolasagasti authored and bmr-cymru committed Oct 14, 2019
1 parent 5244b76 commit ff8dd5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sos/policies/debian.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class DebianPolicy(LinuxPolicy):
distro = "Debian"
vendor = "the Debian project"
vendor_url = "http://www.debian.org/"
vendor_url = "https://www.debian.org/"
ticket_number = ""
_debq_cmd = "dpkg-query -W -f='${Package}|${Version}\\n'"
_debv_cmd = "dpkg --verify"
Expand Down
6 changes: 3 additions & 3 deletions sos/policies/redhat.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
class RedHatPolicy(LinuxPolicy):
distro = "Red Hat"
vendor = "Red Hat"
vendor_url = "http://www.redhat.com/"
vendor_url = "https://www.redhat.com/"
_redhat_release = '/etc/redhat-release'
_tmp_dir = "/var/tmp"
_rpmq_cmd = 'rpm -qa --queryformat "%{NAME}|%{VERSION}|%{RELEASE}\\n"'
Expand Down Expand Up @@ -318,7 +318,7 @@ def probe_preset(self):
class CentOsPolicy(RHELPolicy):
distro = "CentOS"
vendor = "CentOS"
vendor_url = "http://www.centos.org/"
vendor_url = "https://www.centos.org/"


ATOMIC = "atomic"
Expand Down Expand Up @@ -404,7 +404,7 @@ def probe_preset(self):
class CentOsAtomicPolicy(RedHatAtomicPolicy):
distro = "CentOS Atomic Host"
vendor = "CentOS"
vendor_url = "http://www.centos.org/"
vendor_url = "https://www.centos.org/"


class FedoraPolicy(RedHatPolicy):
Expand Down
4 changes: 2 additions & 2 deletions sos/policies/ubuntu.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

class UbuntuPolicy(DebianPolicy):
distro = "Ubuntu"
vendor = "Ubuntu"
vendor_url = "http://www.ubuntu.com/"
vendor = "Canonical"
vendor_url = "https://www.ubuntu.com/"

def __init__(self, sysroot=None):
super(UbuntuPolicy, self).__init__(sysroot=sysroot)
Expand Down

0 comments on commit ff8dd5d

Please sign in to comment.