mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
Revert "zulip-puppet-apply: Work around broken Puppet on Ubuntu 22.04."
This reverts commit 25c87cc7da (#21328).
This upstream Ubuntu bug was fixed.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
a359362845
commit
83bd709562
@@ -66,8 +66,6 @@ puppet_env["FACTER_zulip_scripts_path"] = scripts_path
|
||||
# This is to suppress Puppet warnings with ruby 2.7.
|
||||
if (distro_info["ID"], distro_info["VERSION_ID"]) in [("ubuntu", "20.04")]:
|
||||
puppet_env["RUBYOPT"] = "-W0"
|
||||
if (distro_info["ID"], distro_info["VERSION_ID"]) in [("ubuntu", "22.04")]:
|
||||
puppet_env["RUBYOPT"] = "-r " + os.path.join(scripts_path, "lib", "ruby3hack.rb")
|
||||
|
||||
|
||||
def noop_would_change(puppet_cmd: List[str]) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user