Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppet: Do not require a venv for zulip-puppet-apply.
Alex Vandiver3314fefaec8d
diff --git a/puppet/zulip/manifests/profile/base.pp b/puppet/zulip/manifests/profile/base.ppindex e3c9ee20547..1d86b33cde9 100644--- a/puppet/zulip/manifests/profile/base.pp+++ b/puppet/zulip/manifests/profile/base.pp@@ -35,6 +35,7 @@ class zulip::profile::base {$base_packages = [# Basics'python3',+ 'python3-yaml','puppet','git',# Used in scripts including install-yarn.sh@@ -59,6 +60,7 @@ class zulip::profile::base {$release_name = "${::operatingsystem}${::operatingsystemmajrelease}"$base_packages = ['python3',+ 'python3-pyyaml','puppet','git','curl',diff --git a/scripts/lib/install b/scripts/lib/installindex e3e77e70540..0d2ffbe387b 100755--- a/scripts/lib/install+++ b/scripts/lib/install@@ -327,7 +327,7 @@ if [ "$package_system" = apt ]; then# `zulip::profile::base` such that the new dependency is seen by# upgrades, as well as new installs.if ! apt-get install -y \- python3 puppet git curl wget jq crudini \+ python3 python3-yaml puppet git curl wget jq crudini \"${ADDITIONAL_PACKAGES[@]}"; thenset +xecho -e '\033[0;31m' >&2@@ -338,7 +338,7 @@ if [ "$package_system" = apt ]; thenfielif [ "$package_system" = yum ]; thenif ! yum install -y \- python3 puppet git curl wget jq crudini \+ python3 python3-pyyaml puppet git curl wget jq crudini \"${ADDITIONAL_PACKAGES[@]}"; thenset +xecho -e '\033[0;31m' >&2diff --git a/scripts/zulip-puppet-apply b/scripts/zulip-puppet-applyindex 2d527df643d..7fe4f0c09f4 100755--- a/scripts/zulip-puppet-apply+++ b/scripts/zulip-puppet-apply@@ -7,15 +7,10 @@ import subprocessimport sysimport tempfile-BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))-sys.path.append(BASE_DIR)-from scripts.lib.setup_path import setup_path-from scripts.lib.zulip_tools import assert_running_as_root, parse_os_release--setup_path()-import yaml+from lib.zulip_tools import assert_running_as_root, parse_os_release+assert_running_as_root()BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))