Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable sysstat on el9stream appliance #287

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions common/deploy-scripts/setup_first_he_host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,18 @@ copy_dependencies() {
dest: /var/tmp/lm_sensors.rpm
with_fileglob:
- "/var/tmp/lm_sensors-*"
- name: Copy sysstat dependencies to HE VM
copy:
src: "{{ item }}"
dest: /var/tmp/pcp_conf.rpm
with_fileglob:
- "/var/tmp/pcp-conf-*"
- name: Copy sysstat dependencies to HE VM
copy:
src: "{{ item }}"
dest: /var/tmp/pcp_libs.rpm
with_fileglob:
- "/var/tmp/pcp-libs-*"
- name: Copy OpenSCAP profile name
copy:
src: /root/ost_images_openscap_profile
Expand Down
6 changes: 2 additions & 4 deletions he-basic-suite-master/test-scenarios/test_001_he_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,9 @@ def test_set_global_maintenance(ansible_host0):


def test_install_sar_collection(root_dir, ansible_engine, ost_images_distro):
# TODO: Remove when we have an el9stream-based HE available
if ost_images_distro == "el9stream":
pytest.skip("el9stream packages are not installable on el8stream HE")

ansible_engine.dnf(name='/var/tmp/lm_sensors.rpm', disable_gpg_check='yes')
ansible_engine.dnf(name='/var/tmp/pcp_conf.rpm', disable_gpg_check='yes')
ansible_engine.dnf(name='/var/tmp/pcp_libs.rpm', disable_gpg_check='yes')
ansible_engine.dnf(name='/var/tmp/sysstat.rpm', disable_gpg_check='yes')
ansible_engine.file(
path='/etc/systemd/system/sysstat-collect.timer.d',
Expand Down