mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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:
committed by
Tim Abbott
parent
e4899eae8b
commit
876ee4a8ed
@@ -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" }
|
||||
"""
|
||||
|
Reference in New Issue
Block a user