Compare commits
No commits in common. "c9-beta" and "c9s" have entirely different histories.
5
.gitignore
vendored
5
.gitignore
vendored
@ -1 +1,4 @@
|
|||||||
SOURCES/mod_cluster-42b64bbafb597df26b7c7441e922f295b238247c.tar.gz
|
/mod_cluster-547fccb264f57ecdd5f7818ea2d8f9cfac28c4ed.tar.gz
|
||||||
|
/mod_cluster-eb56c23d62fe5dec0b4e3ecfcdb7a44f79abec5d.tar.gz
|
||||||
|
/mod_cluster-45265ef9c1f53c71af5241f9deae19fd839263c8.tar.gz
|
||||||
|
/mod_cluster-42b64bbafb597df26b7c7441e922f295b238247c.tar.gz
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
9a83b492b5c1efa6aa33a20d66709ed62d048bc7 SOURCES/mod_cluster-42b64bbafb597df26b7c7441e922f295b238247c.tar.gz
|
|
||||||
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-9
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (mod_cluster-42b64bbafb597df26b7c7441e922f295b238247c.tar.gz) = 79453d2a88f25e471795f109d0f641e7d753a0800d22500929d150a15fe3c1e48090ffb725685002f9fa2797398572033ffc31000e48aa9df6907e922a03dffe
|
||||||
12
tests/roles/Test_Setup/tasks/main.yml
Normal file
12
tests/roles/Test_Setup/tasks/main.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: Install required packages
|
||||||
|
dnf:
|
||||||
|
name: >
|
||||||
|
httpd, mod_proxy_cluster
|
||||||
|
|
||||||
|
- name: Comment out mod_proxy_balancer
|
||||||
|
command: sed -i 's@LoadModule proxy_balancer_module@#LoadModule proxy_balancer_module@g' /etc/httpd/conf.modules.d/00-proxy.conf
|
||||||
|
|
||||||
|
- name: Configure mod_proxy_cluster
|
||||||
|
command: mv /etc/httpd/conf.d/mod_proxy_cluster.conf.sample /etc/httpd/conf.d/mod_proxy_cluster.conf
|
||||||
22
tests/tests.yml
Normal file
22
tests/tests.yml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
remote_user: root
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
roles:
|
||||||
|
- role: Test_Setup
|
||||||
|
- role: standard-test-basic
|
||||||
|
tests:
|
||||||
|
- verify_httpd_up:
|
||||||
|
dir: .
|
||||||
|
run: "curl http://localhost/ &> testfile.log || true && grep '<strong>Test Page</strong>' testfile.log"
|
||||||
|
- check_error_log_for_unexpected_errors:
|
||||||
|
dir: .
|
||||||
|
run: "! sudo grep -i error /var/log/httpd/error_log | grep -v \"AH01276\""
|
||||||
|
- check_mod_proxy_cluster_configured:
|
||||||
|
dir: .
|
||||||
|
run: "grep -e \"mod_cluster/.* configured -- resuming normal operations\" /var/log/httpd/error_log"
|
||||||
|
required_packages:
|
||||||
|
- mod_proxy_cluster
|
||||||
|
- httpd
|
||||||
|
required_services:
|
||||||
|
- httpd
|
||||||
Loading…
Reference in New Issue
Block a user