Fix centos-8 functional tests

Centos-8 is the only operating system which excercises the DNF code
path and for functional rather than integrated tests install_method
may be undefined.

Default the install method to 'source'

Change-Id: I628c61e4b846bb380640ed96ee4c1909c88898ff
This commit is contained in:
Jonathan Rosser 2020-07-21 13:09:59 +01:00
parent 1b0a0c79bc
commit 7f26a27140
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@
retries: 5
delay: 2
when:
- install_method == 'distro'
- (install_method | default('source')) == 'distro'
- name: Enable PowerTools repository
command: dnf config-manager --set-enabled PowerTools