Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppet: Ensure that all `scripts/lib/install` packages are installed.
Alex Vandiver52f155873fab
diff --git a/puppet/zulip/manifests/profile/base.pp b/puppet/zulip/manifests/profile/base.ppindex 21c892e112e..e3c9ee20547 100644--- a/puppet/zulip/manifests/profile/base.pp+++ b/puppet/zulip/manifests/profile/base.pp@@ -33,13 +33,18 @@ class zulip::profile::base {'20.04' => 'focal',}$base_packages = [- # Accurate time is essential- 'ntp',+ # Basics+ 'python3',+ 'puppet',+ 'git',# Used in scripts including install-yarn.sh'curl','wget',+ 'jq',# Used to read /etc/zulip/zulip.conf for `zulipconf` Puppet function'crudini',+ # Accurate time is essential+ 'ntp',# Used for tools like sponge'moreutils',# Nagios monitoring plugins@@ -53,10 +58,14 @@ class zulip::profile::base {'redhat': {$release_name = "${::operatingsystem}${::operatingsystemmajrelease}"$base_packages = [- 'ntp',+ 'python3',+ 'puppet',+ 'git','curl','wget',+ 'jq','crudini',+ 'ntp','moreutils','nmap-ncat','nagios-plugins', # there is no dummy package on CentOS 7diff --git a/scripts/lib/install b/scripts/lib/installindex 8229893d0b9..e3e77e70540 100755--- a/scripts/lib/install+++ b/scripts/lib/install@@ -323,9 +323,11 @@ if [ -z "$NO_DIST_UPGRADE" ]; thenfiif [ "$package_system" = apt ]; then+ # Note that any additions to these lists must also be added to+ # `zulip::profile::base` such that the new dependency is seen by+ # upgrades, as well as new installs.if ! apt-get install -y \- puppet git curl wget jq \- python3 crudini \+ python3 puppet git curl wget jq crudini \"${ADDITIONAL_PACKAGES[@]}"; thenset +xecho -e '\033[0;31m' >&2@@ -336,8 +338,7 @@ if [ "$package_system" = apt ]; thenfielif [ "$package_system" = yum ]; thenif ! yum install -y \- puppet git curl wget jq \- python3 crudini \+ python3 puppet git curl wget jq crudini \"${ADDITIONAL_PACKAGES[@]}"; thenset +xecho -e '\033[0;31m' >&2