Skip to content

Commit

Permalink
HOTFIX: Got ampq playbook tests working
Browse files Browse the repository at this point in the history
  • Loading branch information
tedgin committed Feb 14, 2024
1 parent 1aa461a commit 6d5eba3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
rabbitmq_has_systemd: false
9 changes: 4 additions & 5 deletions testing/env/base/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

set -o errexit -o nounset -o pipefail


main() {
if (( $# < 1 )); then
printf 'The OS name is required as the first argument\n' >&2
Expand Down Expand Up @@ -58,7 +57,6 @@ main() {
mkdir --mode 0700 /root/.ssh
}


# Install the required CentOS packages.
#
# Parameters:
Expand Down Expand Up @@ -89,7 +87,6 @@ install_centos_packages() {
sudo
}


install_ubuntu_packages() {
local version="$1"

Expand All @@ -110,8 +107,11 @@ install_ubuntu_packages() {
python3-selinux \
python3-virtualenv \
sudo
}

if [[ "$version" != '18.04' ]]; then
apt install --yes --quiet=2 python-is-python3
fi
}

update_pam_sshd_config() {
cat <<'EOF' | sed --in-place --file - /etc/pam.d/sshd
Expand All @@ -124,7 +124,6 @@ update_pam_sshd_config() {
EOF
}


update_sshd_config() {
cat <<'EOF' | sed --in-place --regexp-extended --file - /etc/ssh/sshd_config
s/#?PermitRootLogin .*/PermitRootLogin yes/
Expand Down
4 changes: 2 additions & 2 deletions testing/env/base/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

main()
{
Svc="$1"
Svc="$*"

start "$Svc"
trap 'kill ${!}; stop "$Svc"; exit $?' SIGTERM
Expand Down Expand Up @@ -68,4 +68,4 @@ stop()

set -e

main "$*"
main "$@"
1 change: 0 additions & 1 deletion testing/env/irods-provider/Dockerfile.configured
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ FROM test-env-base:centos7
### Install PostgreSQL ODBC connector
RUN yum --assumeyes install \
https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
RUN yum --assumeyes install postgresql12-odbc

### Install iRODS
Expand Down

0 comments on commit 6d5eba3

Please sign in to comment.