installer: Remove code specific to stretch or xenial.

Support for Xenial and Stretch was removed (5154ddafca, 0f4b1076ad,
8944e0ad53, 79acd5ae40, 1219a2e854), but not all codepaths were
updated to remove their conditionals on it.

Remove all code predicated on Xenial or Stretch.  debathena support
was migrated to Bionic, since that appears to be the current state of
existing debathena servers.
This commit is contained in:
Alex Vandiver
2020-06-24 00:30:27 +00:00
committed by Tim Abbott
parent e4899eae8b
commit 876ee4a8ed
8 changed files with 4 additions and 34 deletions

View File

@@ -21,11 +21,6 @@ config = configparser.RawConfigParser()
config.read("/etc/zulip/zulip.conf")
distro_info = parse_os_release()
if not os.path.exists("/etc/puppet/hiera.yaml"):
if (distro_info['ID'], distro_info['VERSION_ID']) in [('debian', '9'), ('ubuntu', '16.04')]:
# Suppress warnings in old puppet about hiera.yaml not existing.
open("/etc/puppet/hiera.yaml", "a").close()
puppet_config = """
Exec { path => "/usr/sbin:/usr/bin:/sbin:/bin" }
"""