aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikel Olasagasti Uranga <mikel@olasagasti.info>2019-10-14 14:43:17 +0100
committerBryn M. Reeves <bmr@redhat.com>2019-10-14 14:50:59 +0100
commitff8dd5daaabccb88f9fba3e181efa27dbe8a27a0 (patch)
tree5c55293f8bcce034871d97e8a7062cacf9bdb993
parent5244b769e3da8630e64a6a36355341a21cd5e779 (diff)
downloadsos-ff8dd5daaabccb88f9fba3e181efa27dbe8a27a0.tar.gz
[policies] update vendor URLs to use HTTPS
Resolves: #1829 Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/policies/debian.py2
-rw-r--r--sos/policies/redhat.py6
-rw-r--r--sos/policies/ubuntu.py4
3 files changed, 6 insertions, 6 deletions
diff --git a/sos/policies/debian.py b/sos/policies/debian.py
index f54eb2d0..1a99f4c2 100644
--- a/sos/policies/debian.py
+++ b/sos/policies/debian.py
@@ -7,7 +7,7 @@ import os
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"
diff --git a/sos/policies/redhat.py b/sos/policies/redhat.py
index 0fc99104..3b6ab7cd 100644
--- a/sos/policies/redhat.py
+++ b/sos/policies/redhat.py
@@ -25,7 +25,7 @@ OS_RELEASE = "/etc/os-release"
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"'
@@ -318,7 +318,7 @@ support representative.
class CentOsPolicy(RHELPolicy):
distro = "CentOS"
vendor = "CentOS"
- vendor_url = "http://www.centos.org/"
+ vendor_url = "https://www.centos.org/"
ATOMIC = "atomic"
@@ -404,7 +404,7 @@ support representative.
class CentOsAtomicPolicy(RedHatAtomicPolicy):
distro = "CentOS Atomic Host"
vendor = "CentOS"
- vendor_url = "http://www.centos.org/"
+ vendor_url = "https://www.centos.org/"
class FedoraPolicy(RedHatPolicy):
diff --git a/sos/policies/ubuntu.py b/sos/policies/ubuntu.py
index 1165fb7c..0bf6fb62 100644
--- a/sos/policies/ubuntu.py
+++ b/sos/policies/ubuntu.py
@@ -6,8 +6,8 @@ from sos.policies.debian import DebianPolicy
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)