From bd27cc69d8d7bcc2d68d93929ab23282c0e8c823 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 6 Nov 2017 18:01:23 -0800 Subject: [PATCH] Don't install haveged for modular tests (yet) It's not there, I don't think. --- tests/role_deploy_domain_controller.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/role_deploy_domain_controller.pm b/tests/role_deploy_domain_controller.pm index 3cd07473..cee17e8f 100644 --- a/tests/role_deploy_domain_controller.pm +++ b/tests/role_deploy_domain_controller.pm @@ -16,8 +16,10 @@ sub run { repo_setup() unless get_var("UPGRADE"); # we need a lot of entropy for this, and we don't care how good # it is, so let's use haveged - assert_script_run 'dnf -y install haveged', 300; - assert_script_run 'systemctl start haveged.service'; + unless (get_var("MODULAR")) { + assert_script_run 'dnf -y install haveged', 300; + assert_script_run 'systemctl start haveged.service'; + } # read DNS server IPs from host's /etc/resolv.conf for passing to # rolectl my @forwards = get_host_dns();